summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2018-07-24 08:07:36 +0200
committerTodd Gamblin <tgamblin@llnl.gov>2018-07-23 23:07:36 -0700
commit6ba1c82858473ac446e6faecb04a9f3b0f998e7f (patch)
treee7b42eba7dfc71725f2da8e29dfbcb7bfec9c9c0 /.travis.yml
parente2e8108dc4ca8210f1526ce68db59d633d53f66e (diff)
downloadspack-6ba1c82858473ac446e6faecb04a9f3b0f998e7f.tar.gz
spack-6ba1c82858473ac446e6faecb04a9f3b0f998e7f.tar.bz2
spack-6ba1c82858473ac446e6faecb04a9f3b0f998e7f.tar.xz
spack-6ba1c82858473ac446e6faecb04a9f3b0f998e7f.zip
tests: Add python 3.7 to Travis CI (#8778)
* Test Spack on Python 3.7 as part of Travis CI * Currently using xenial to pull-in python 3.7 * As xenial is not officially supported yet, Travis tolerates failures on it.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 73cf39adea..73b258e540 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,6 +11,13 @@ branches:
#=============================================================================
# Build matrix
#=============================================================================
+
+# Adding the keyword dist to permit an `allow_failures` section
+# under `matrix.include`. More information here:
+#
+# https://docs.travis-ci.com/user/customizing-the-build/#Rows-that-are-Allowed-to-Fail
+dist: trusty
+
jobs:
fast_finish: true
include:
@@ -44,6 +51,12 @@ jobs:
os: linux
language: python
env: [ TEST_SUITE=unit, COVERAGE=true ]
+ - python: '3.7'
+ os: linux
+ dist: xenial
+ sudo: true
+ language: python
+ env: [ TEST_SUITE=unit, COVERAGE=true ]
- python: '3.6'
os: linux
language: python
@@ -93,6 +106,8 @@ jobs:
os: linux
language: python
env: [ TEST_SUITE=build, COVERAGE=true, 'SPEC=mpich' ]
+ allow_failures:
+ - dist: xenial
stages:
- 'style checks'