Skip to content

Commit

Permalink
Merge 165a802 into 9f3dec5
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Nov 8, 2016
2 parents 9f3dec5 + 165a802 commit e71b05a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 24 deletions.
29 changes: 6 additions & 23 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 @@ -51,9 +39,9 @@ install:
# conda line below will keep everything up-to-date.
# This saves us some downloading for this version
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
Expand All @@ -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
2 changes: 1 addition & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-r requirements.txt
pytest
python-coveralls
pytest-cov
pytest-cov

0 comments on commit e71b05a

Please sign in to comment.