Skip to content

Commit

Permalink
travis: updated yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dokato committed Sep 15, 2015
1 parent 2dc8e87 commit 204fde4
Showing 1 changed file with 23 additions and 9 deletions.
32 changes: 23 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
language: python
python:
- "2.7"
- "3.3"
- "3.4"
virtualenv:
system_site_packages: true
- 2.7
- 3.3
- 3.4
notifications:
email: false

# Setup anaconda
before_install:
- sudo apt-get install build-essential python-dev python-numpy python-setuptools python-scipy
python-matplotlib
install: "pip install -r requirements.txt"
script: nosetests
- 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 packages
install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION atlas numpy scipy matplotlib nose dateutil pandas statsmodels
- python setup.py install

# Run test
script:
- nosetests tests

0 comments on commit 204fde4

Please sign in to comment.