Another attempt using Miniconda
This commit is contained in:
+15
-3
@@ -1,6 +1,8 @@
|
|||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
language: python
|
language: python
|
||||||
|
python:
|
||||||
|
- 2.7
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
postgresql: "9.4"
|
postgresql: "9.4"
|
||||||
@@ -14,9 +16,19 @@ addons:
|
|||||||
env:
|
env:
|
||||||
- PGUSER=postgres
|
- PGUSER=postgres
|
||||||
|
|
||||||
before_script:
|
# From https://gist.github.com/dan-blanchard/7045057
|
||||||
- pip install numpy==1.11.0
|
before_install:
|
||||||
- pip install scipy==0.17.1
|
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
|
||||||
|
- chmod +x miniconda.sh
|
||||||
|
- ./miniconda.sh -b
|
||||||
|
- export PATH=/home/travis/miniconda/bin:$PATH
|
||||||
|
- conda update --yes conda
|
||||||
|
# The next couple lines fix a crash with multiprocessing on Travis and are not specific to using Miniconda
|
||||||
|
- sudo rm -rf /dev/shm
|
||||||
|
- sudo ln -s /run/shm /dev/shm
|
||||||
|
|
||||||
|
install:
|
||||||
|
- conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy pysal scikit-learn
|
||||||
- make install
|
- make install
|
||||||
|
|
||||||
script: make test
|
script: make test
|
||||||
|
|||||||
Reference in New Issue
Block a user