-
Notifications
You must be signed in to change notification settings - Fork 0
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
Chris Beaumont
committed
Aug 7, 2014
1 parent
979c8c2
commit 60a7b47
Showing
1 changed file
with
28 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
language: python | ||
python: | ||
- 2.6 | ||
- 2.7 | ||
- 3.3 | ||
- 3.4 | ||
|
||
before_install: | ||
# Use utf8 encoding. Should be default, but this is insurance against | ||
# future changes | ||
- export PYTHONIOENCODING=UTF8 | ||
- 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 | ||
|
||
install: | ||
- conda create --yes -n test python=$TRAVIS_PYTHON_VERSION | ||
- source activate test | ||
- conda install --yes numpy matplotlib pip | ||
- pip install coveralls pytest pytest-cov | ||
|
||
script: | ||
- py.test --cov ds9norm test_ds9norm.py | ||
|
||
after_success: | ||
- coveralls |