Skip to content

Commit

Permalink
Setup travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Beaumont committed Aug 7, 2014
1 parent 979c8c2 commit 60a7b47
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .travis.yml
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

0 comments on commit 60a7b47

Please sign in to comment.