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)
This commit is contained in:
parent
488e513e84
commit
020a01b18f
11
.travis.yml
11
.travis.yml
@ -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:
|
|||||||
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:
|
|||||||
- 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:
|
|||||||
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'
|
||||||
|
Loading…
Reference in New Issue
Block a user