From 6ba1c82858473ac446e6faecb04a9f3b0f998e7f Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Tue, 24 Jul 2018 08:07:36 +0200 Subject: 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. --- .travis.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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' -- cgit v1.2.3-70-g09d2