File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ def test_equal_diag():
51
51
for pot in pots :
52
52
v_ = pot .velocity (x )
53
53
e_ = pot .energy (x )
54
- npt .assert_allclose (v_ , v )
55
- npt .assert_allclose (e_ , e )
54
+ npt .assert_allclose (v_ , v , rtol = 1e-6 )
55
+ npt .assert_allclose (e_ , e , rtol = 1e-6 )
56
56
57
57
58
58
def test_equal_dense ():
Original file line number Diff line number Diff line change 33
33
fi
34
34
source activate ${ENVNAME}
35
35
fi
36
- conda install --yes numpy scipy mkl-service matplotlib
36
+ conda install --yes numpy scipy mkl-service
37
37
conda install --yes -c conda-forge python-graphviz
38
38
39
39
pip install --upgrade pip
40
40
41
41
# Install editable using the setup.py
42
- pip install -e .
43
42
44
- pip install -r requirements-dev.txt
43
+ # Travis env is unable to import cached mpl sometimes https://github.com/pymc-devs/pymc3/issues/3423
44
+ pip install --no-cache-dir --ignore-installed -e .
45
+ pip install --no-cache-dir --ignore-installed -r requirements-dev.txt
45
46
46
47
# Install untested, non-required code (linter fails without them)
47
48
pip install ipython ipywidgets
You can’t perform that action at this time.
0 commit comments