Skip to content

Commit

Permalink
Merge pull request #499 from EducationalTestingService/feature/497-dr…
Browse files Browse the repository at this point in the history
…op-support-for-python2.7

removing Python 2.7 from Travis builds.
  • Loading branch information
desilinguist committed Sep 13, 2019
2 parents 1dc9859 + dbc8bb2 commit 325269c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: python
python:
- 2.7
- 3.6
notifications:
email: false
Expand All @@ -19,14 +18,13 @@ sudo: false

# Install stuff
before_install:
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then export PATH=/home/travis/miniconda2/bin:$PATH; else export PATH=/home/travis/miniconda3/bin:$PATH; fi
- export PATH=/home/travis/miniconda3/bin:$PATH
- conda update --yes conda
install:
- conda install --yes --channel defaults --channel conda-forge python=$TRAVIS_PYTHON_VERSION numpy scipy pandas beautifulsoup4 six scikit-learn==0.20.1 joblib tabulate python-coveralls ruamel.yaml
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then conda install --yes --channel defaults configparser mock; fi
- if [ ${WITH_PANDAS_AND_SEABORN} == "true" ]; then conda install --yes --channel defaults seaborn; fi
# Have to use pip for nose-cov because its entry points are not supported by conda yet
- pip install nose-cov
Expand Down

0 comments on commit 325269c

Please sign in to comment.