Skip to content

Commit

Permalink
updated travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenhky committed Jul 6, 2019
1 parent f67a9ce commit fdb7e3d
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@ python:
- "3.6"
- "3.7"
before_install:
- wget 'http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh' -O miniconda.sh
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda2/bin:$PATH
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
export PATH=/home/travis/miniconda2/bin:$PATH;
else
export PATH=/home/travis/miniconda3/bin:$PATH;
fi
- conda update --yes conda
- sudo apt-get update
- sudo apt-get install libc6
Expand All @@ -30,3 +38,6 @@ install:
- python -m spacy download en
script:
- python setup.py test

# Anaconda running in CI
# https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/use-conda-with-travis-ci.html

0 comments on commit fdb7e3d

Please sign in to comment.