summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2017-03-26 18:02:56 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2017-03-31 13:40:41 -0700
commit3f21f2b08810b39a17db85cca095b67efc4a249d (patch)
treece712b4948ae2cb21c116c5355e6a5859f719087 /.travis.yml
parentb9ee86cac9275076b8e46a7c7c369df8e84e1955 (diff)
downloadspack-3f21f2b08810b39a17db85cca095b67efc4a249d.tar.gz
spack-3f21f2b08810b39a17db85cca095b67efc4a249d.tar.bz2
spack-3f21f2b08810b39a17db85cca095b67efc4a249d.tar.xz
spack-3f21f2b08810b39a17db85cca095b67efc4a249d.zip
Clean up tests and add Python3 to Travis.
- Clean up spec_syntax tests: don't dependend on DB order. - spec_syntax hash parsing tests were strongly dependent on the order the DB was traversed. - Tests now specifically grab the specs they want from the mock DB. - Tests are more readable as a result. - Add Python3 versions to Travis tests.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml18
1 files changed, 17 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 4cd3b14b9c..d7bdf9b2ca 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,6 +22,22 @@ matrix:
os: linux
language: python
env: TEST_SUITE=unit
+ - python: '3.3'
+ os: linux
+ language: python
+ env: TEST_SUITE=unit
+ - python: '3.4'
+ os: linux
+ language: python
+ env: TEST_SUITE=unit
+ - python: '3.5'
+ os: linux
+ language: python
+ env: TEST_SUITE=unit
+ - python: '3.6'
+ os: linux
+ language: python
+ env: TEST_SUITE=unit
- python: '2.7'
os: linux
language: python
@@ -45,6 +61,7 @@ addons:
apt:
packages:
- gfortran
+ - mercurial
- graphviz
# Work around Travis's lack of support for Python on OSX
@@ -60,7 +77,6 @@ install:
- pip install --upgrade codecov
- pip install --upgrade flake8
- pip install --upgrade sphinx
- - pip install --upgrade mercurial
before_script:
# Need this for the git tests to succeed.