Skip to content

Commit

Permalink
Travis: don't use Conda
Browse files Browse the repository at this point in the history
Install NumPy and SciPy from PyPi binaries. See
travis-ci/travis-ci#2650
  • Loading branch information
rlmv committed Mar 8, 2018
1 parent 32bb758 commit 9311c1b
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,10 @@ python:
- "3.5"
- "3.6"

# Setup miniconda
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda3/bin:$PATH
# Update conda itself
- conda update --yes conda

# Install packages
install:
- conda create --yes --name=$TRAVIS_PYTHON_VERSION python=$TRAVIS_PYTHON_VERSION numpy=1.14 scipy
- source activate $TRAVIS_PYTHON_VERSION
- pip install -r requirements.txt
- pip install --upgrade pip setuptools wheel
- pip install -r requirements.txt --only-binary=numpy,scipy
- pip install coveralls
- pip freeze

Expand Down

0 comments on commit 9311c1b

Please sign in to comment.