-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
38 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,33 @@ | ||
language: python | ||
python: | ||
- "2.7" | ||
- 2.7 | ||
|
||
script: pwd | ||
notifications: | ||
email: false | ||
|
||
##################################################### | ||
#From: https://gist.github.com/dan-blanchard/7045057# | ||
##################################################### | ||
|
||
#Setup anaconda | ||
before_install: | ||
- 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: | ||
- git clone https://github.com/apetri/LensTools | ||
- cd LensTools | ||
- python setup.py install | ||
- conda install --yes python=$TRAVIS_PYTHON_VERSION atlas numpy scipy matplotlib nose dateutil pandas statsmodels astropy | ||
|
||
#Coverage packages are on Dan Blanchard binstar channel | ||
- conda install --yes -c dan_blanchard python-coveralls nose-cov | ||
- python setup.py install | ||
|
||
virtualenv: | ||
system_site_packages: true | ||
#Run test | ||
script: pwd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters