Compare commits

...

18 Commits

Author SHA1 Message Date
Raul Ochoa
a5fd283f90 Test: try to avoid travis virtualenv 2016-06-17 10:15:25 +02:00
Raul Ochoa
3cb59a51f5 Activate env before installs 2016-06-17 02:36:13 +02:00
Raul Ochoa
c85f4e0742 Increase travis timeout 2016-06-17 01:54:18 +02:00
Raul Ochoa
e8deffa5c2 Test: use conda env 2016-06-17 01:31:46 +02:00
Raul Ochoa
74b8ce2f98 Install nose from conda so travis doesn't use its virtualenv one 2016-06-17 01:01:04 +02:00
Raul Ochoa
78fadc14d0 Install pip with conda 2016-06-17 00:41:48 +02:00
Raul Ochoa
1edb55a790 Test: Ignore deps from setup 2016-06-17 00:06:47 +02:00
Raul Ochoa
27d2dad3c5 Test without pip install 2016-06-16 23:26:57 +02:00
Raul Ochoa
620d341cb3 Use specific version with conda in travis, use 1.11.1 pysal version 2016-06-16 23:13:35 +02:00
Raul Ochoa
544df79320 Use sudo for make install 2016-06-16 21:39:30 +02:00
Raul Ochoa
03dd4c67a6 Install postgresql-server-dev dep 2016-06-16 20:44:52 +02:00
Raul Ochoa
49f04ba55a Remove sudo calls 2016-06-16 20:41:43 +02:00
Raul Ochoa
5a092047fc Fix conda path 2016-06-16 20:36:12 +02:00
Raul Ochoa
2bd4b73f8e Another attempt using Miniconda 2016-06-16 20:27:03 +02:00
Raul Ochoa
a920da7e5d Manually install of numpy and scipy 2016-06-16 20:08:07 +02:00
Raul Ochoa
d3fba86d6f Add dependencies to build scipy 2016-06-16 19:25:38 +02:00
Raul Ochoa
b7d2254b4a Merge branch 'develop' into travis 2016-06-16 19:21:21 +02:00
Raul Ochoa
5a9051e679 Use travis for tests 2016-06-16 16:57:17 +02:00
2 changed files with 36 additions and 1 deletions

35
.travis.yml Normal file
View File

@@ -0,0 +1,35 @@
sudo: true
language: c
addons:
postgresql: "9.4"
apt:
packages:
- python2.7
- python2.7-dev
- 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
- conda create --yes -n condaenv python=2.7
- source activate condaenv
- conda install --yes -n condaenv pip nose
- conda install --yes -n condaenv numpy=1.11.0 scipy=0.17.1 pysal=1.11.1 scikit-learn=0.17.1
install:
- travis_wait 30 sudo make install
script: make test

View File

@@ -40,7 +40,7 @@ setup(
# The choice of component versions is dictated by what's
# provisioned in the production servers.
install_requires=['numpy==1.11.0', 'scipy==0.17.1', 'pysal==1.9.1', 'scikit-learn==0.17.1'],
install_requires=['numpy==1.11.0', 'scipy==0.17.1', 'pysal==1.11.1', 'scikit-learn==0.17.1'],
requires=['pysal', 'numpy', 'sklearn'],