travis: the sudo tag is now deprecated (#11933)

* Travis CI: The sudo tag is now deprecated in Travis

__sudo: required__ no longer is.

* Remove obsolete comment

__travis_wait__ can help with long-running processes.
* https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received
This commit is contained in:
cclauss 2019-07-06 07:25:25 +02:00 committed by Todd Gamblin
parent d2e5b8474a
commit e8506994b1

View File

@ -19,39 +19,32 @@ jobs:
include: include:
- stage: 'style checks' - stage: 'style checks'
python: '2.7' python: '2.7'
sudo: required
os: linux os: linux
language: python language: python
env: TEST_SUITE=flake8 env: TEST_SUITE=flake8
- stage: 'unit tests + documentation' - stage: 'unit tests + documentation'
python: '2.6' python: '2.6'
dist: trusty dist: trusty
sudo: required
os: linux os: linux
language: python language: python
env: [ TEST_SUITE=unit, COVERAGE=true ] env: [ TEST_SUITE=unit, COVERAGE=true ]
- python: '2.7' - python: '2.7'
sudo: required
os: linux os: linux
language: python language: python
env: [ TEST_SUITE=unit, COVERAGE=true ] env: [ TEST_SUITE=unit, COVERAGE=true ]
- python: '3.5' - python: '3.5'
sudo: required
os: linux os: linux
language: python language: python
env: TEST_SUITE=unit env: TEST_SUITE=unit
- python: '3.6' - python: '3.6'
sudo: required
os: linux os: linux
language: python language: python
env: TEST_SUITE=unit env: TEST_SUITE=unit
- python: '3.7' - python: '3.7'
sudo: required
os: linux os: linux
language: python language: python
env: [ TEST_SUITE=unit, COVERAGE=true ] env: [ TEST_SUITE=unit, COVERAGE=true ]
- python: '3.7' - python: '3.7'
sudo: required
os: linux os: linux
language: python language: python
env: TEST_SUITE=doc env: TEST_SUITE=doc
@ -101,7 +94,6 @@ jobs:
env: [ TEST_SUITE=build, 'SPEC=mpich' ] env: [ TEST_SUITE=build, 'SPEC=mpich' ]
- python: '3.6' - python: '3.6'
stage: 'docker build' stage: 'docker build'
sudo: required
os: linux os: linux
language: python language: python
env: TEST_SUITE=docker env: TEST_SUITE=docker
@ -119,8 +111,6 @@ stages:
#============================================================================= #=============================================================================
# Environment # Environment
#============================================================================= #=============================================================================
# Use new Travis infrastructure (Docker can't sudo yet)
sudo: false
# Docs need graphviz to build # Docs need graphviz to build
addons: addons: