Skip to content

Commit

Permalink
Downgrade to python 3.5 if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo Peng committed Oct 6, 2017
1 parent 9da1c80 commit 89d9d0b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ before_install:
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
# downgrade python if needed
- conda create -n python_test python=$TRAVIS_PYTHON_VERSION anaconda
- source activate python_test
- pip install docker rq
- pip install pyyaml psutil tqdm nose
- pip install fasteners pygments networkx pydot pydotplus
Expand Down Expand Up @@ -51,8 +54,6 @@ script:
after_success:
- 'if [ $TRAVIS_PYTHON_VERSION == "3.5" ]; then
coverage combine;
ls -l coverage.xml;
python-codacy-coverage -r coverage.xml;
coveralls;
fi'

Expand Down

0 comments on commit 89d9d0b

Please sign in to comment.