summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorNadia Dencheva <nadia.astropy@gmail.com>2016-08-07 12:23:24 -0400
committerGitHub <noreply@github.com>2016-08-07 12:23:24 -0400
commita2e16e39b0eb8ac0251a6473c60fee0d437c3a5f (patch)
tree7b6771e9c1974852eb8a283507677651078ce32a /.travis.yml
parent86d1bc5a77491770d45b86e5cf18b79ded68fb9b (diff)
parent2dc0676bc00f66a87737e78484876051633b731a (diff)
downloadstwcs_hcf-a2e16e39b0eb8ac0251a6473c60fee0d437c3a5f.tar.gz
Merge pull request #9 from nden/refactor-and-tests
restructure and add stwcs tests
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..e3ed112
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,30 @@
+language: c
+
+os:
+ - linux
+ - osx
+
+sudo: false
+
+env:
+ # CONDA_JWST_DEPENDENCIES is used because CONDA_DEPENDENCIES is not truly global.
+ global:
+ - MAIN_CMD='python setup.py'
+ - CONDA_CHANNELS='http://ssb.stsci.edu/conda-dev'
+ - CONDA_DEPENDENCIES='pytest jwst sphinx=1.3.5'
+ - CONDA_JWST_DEPENDENCIES='pytest stsci-jwst sphinx=1.3.5'
+ - PIP_DEPENDENCIES=""
+
+ matrix:
+ - PYTHON_VERSION=2.7 SETUP_CMD='install'
+ - PYTHON_VERSION=2.7 SETUP_CMD='test'
+ - PYTHON_VERSION=3.5 SETUP_CMD='install'
+ - PYTHON_VERSION=3.5 SETUP_CMD='test'
+
+install:
+ - git clone git://github.com/astropy/ci-helpers.git
+ - source ci-helpers/travis/setup_conda_$TRAVIS_OS_NAME.sh
+
+script:
+ - $MAIN_CMD $SETUP_CMD
+