aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunk@stsci.edu>2016-02-25 00:17:40 -0500
committerJoe Hunkeler <jhunk@stsci.edu>2016-02-25 01:02:44 -0500
commit4de9a760c28f11366d9f5ceaf360d33f6bd72ce6 (patch)
treee09a87324d2752249e9277d21b22ae29af8f5d39
parented1c0267cea878139a36f729073f9f811f984f2e (diff)
downloadcbc-4de9a760c28f11366d9f5ceaf360d33f6bd72ce6.tar.gz
Initial commit of travis configuration
-rw-r--r--.travis.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..e000b23
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,26 @@
+#1
+sudo: false
+language: python
+python:
+ - "3.3"
+ - "3.4"
+ - "3.5"
+
+install:
+ - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
+ - bash miniconda.sh -b -p $HOME/miniconda
+ - export PATH="$HOME/miniconda/bin:$PATH"
+ - hash -r
+ - conda config --set always_yes yes --set changeps1 no
+ - conda update -q conda
+ # Pin 1.18.1 until 1.19.1 fixes git metadata
+ - conda install python=$TRAVIS_PYTHON_VERSION conda-build=1.18.1 nose
+ - conda info -a
+ - python setup.py install
+
+script:
+ - nosetests
+
+branches:
+ only:
+ - master