34 lines
745 B
YAML
34 lines
745 B
YAML
sudo: true
|
|
|
|
language: python
|
|
python:
|
|
- 2.7
|
|
|
|
addons:
|
|
postgresql: "9.4"
|
|
apt:
|
|
packages:
|
|
- postgresql-plpython-9.4
|
|
- postgresql-server-dev-9.4
|
|
- liblapack-dev
|
|
- libatlas-dev
|
|
- gfortran
|
|
|
|
env:
|
|
- PGUSER=postgres
|
|
|
|
# From https://gist.github.com/dan-blanchard/7045057
|
|
before_install:
|
|
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
|
|
- chmod +x miniconda.sh
|
|
- ./miniconda.sh -b -p `pwd`/miniconda
|
|
- export PATH=`pwd`/miniconda/bin:$PATH
|
|
- conda update --yes conda
|
|
|
|
install:
|
|
- conda install --yes python=$TRAVIS_PYTHON_VERSION pip nose
|
|
- conda install --yes numpy=1.11.0 scipy=0.17.1 pysal=1.11.1 scikit-learn=0.17.1
|
|
- sudo make install
|
|
|
|
script: make test
|