Skip to content
Snippets Groups Projects
Commit 020a01b1 authored by Massimiliano Culpo's avatar Massimiliano Culpo Committed by Todd Gamblin
Browse files

Updated the Travis environment to xenial (#10090)

* Updated the Travis environment to xenial.
* Python 2.6 needs to remain on Trusty (can't be installed from Xenial)
parent 488e513e
No related branches found
No related tags found
No related merge requests found
...@@ -12,11 +12,7 @@ branches: ...@@ -12,11 +12,7 @@ branches:
# Build matrix # Build matrix
#============================================================================= #=============================================================================
# Adding the keyword dist to permit an `allow_failures` section dist: xenial
# under `matrix.include`. More information here:
#
# https://docs.travis-ci.com/user/customizing-the-build/#Rows-that-are-Allowed-to-Fail
dist: trusty
jobs: jobs:
fast_finish: true fast_finish: true
...@@ -29,6 +25,7 @@ jobs: ...@@ -29,6 +25,7 @@ jobs:
env: TEST_SUITE=flake8 env: TEST_SUITE=flake8
- stage: 'unit tests + documentation' - stage: 'unit tests + documentation'
python: '2.6' python: '2.6'
dist: trusty
sudo: required sudo: required
os: linux os: linux
language: python language: python
...@@ -56,7 +53,6 @@ jobs: ...@@ -56,7 +53,6 @@ jobs:
- python: '3.7' - python: '3.7'
sudo: required sudo: required
os: linux os: linux
dist: xenial
language: python language: python
env: TEST_SUITE=unit env: TEST_SUITE=unit
- python: '3.6' - python: '3.6'
...@@ -114,10 +110,7 @@ jobs: ...@@ -114,10 +110,7 @@ jobs:
language: generic language: generic
env: TEST_SUITE=docker env: TEST_SUITE=docker
allow_failures: allow_failures:
- dist: xenial
- env: TEST_SUITE=docker - env: TEST_SUITE=docker
# temporary Python 2.6 exception while we figure out why Travis is hanging
- python: '2.6'
stages: stages:
- 'style checks' - 'style checks'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment