Skip to content

Commit

Permalink
remove conda install matplotlib as test
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Nov 8, 2016
1 parent d4ea043 commit 165a802
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,9 @@ language: python
matrix:
include:
- python: 2.7
env: MATPLOTLIB_VERSION=1.4.3 DISPLAY=:99.0
- python: 3.3
env: MATPLOTLIB_VERSION=1.4.3 DISPLAY=:99.0
- python: 3.4
env: MATPLOTLIB_VERSION=1.4.3 DISPLAY=:99.0
env: MATPLOTLIB_VERSION=1.5.3 DISPLAY=:99.0
- python: 3.5
env: MATPLOTLIB_VERSION=1.4.3 DISPLAY=:99.0
- python: 2.7
env: MATPLOTLIB_VERSION=1.5.0 DISPLAY=:99.0
- python: 3.5
env: MATPLOTLIB_VERSION=1.5.0 DISPLAY=:99.0
- python: 2.7
env: MATPLOTLIB_VERSION=1.5.1 DISPLAY=:99.0
- python: 3.5
env: MATPLOTLIB_VERSION=1.5.1 DISPLAY=:99.0
env: MATPLOTLIB_VERSION=1.5.3 DISPLAY=:99.0
# allow_failures:
# - python: "nightly"

Expand Down Expand Up @@ -67,18 +55,13 @@ install:
- conda create -n test-environment python=$TRAVIS_PYTHON_VERSION pip numpy scipy pandas pytest
- source activate test-environment

# When 1.5.0 is released, can use only conda.
- if [[ "$MATPLOTLIB_VERSION" == "1.4.3" ]]; then
conda install -n test-environment matplotlib=$MATPLOTLIB_VERSION;
else
pip install git+https://github.com/matplotlib/matplotlib.git@v$MATPLOTLIB_VERSION;
fi
- pip install git+https://github.com/matplotlib/matplotlib.git@v$MATPLOTLIB_VERSION;

# Build in place so we can run tests
- pip install python-coveralls pytest-cov
- pip install .
# command to run tests
script: py.test --cov=lifelines -vv --block=False --cov-report term-missing
script: py.test -s --cov=lifelines -vv --block=False --cov-report term-missing
after_success:
coveralls
# Don't want notifications
Expand Down

0 comments on commit 165a802

Please sign in to comment.