summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2018-09-24 14:55:36 -0700
committerGitHub <noreply@github.com>2018-09-24 14:55:36 -0700
commit5aa05b8ef496e9601e74ba3a43240ae9bb3d14aa (patch)
tree1cb6600a869d783390124c01be38be8d9b6a13f4 /.travis.yml
parentd2bd5177dae3f187de247b5f5186c20414d1f53e (diff)
downloadspack-5aa05b8ef496e9601e74ba3a43240ae9bb3d14aa.tar.gz
spack-5aa05b8ef496e9601e74ba3a43240ae9bb3d14aa.tar.bz2
spack-5aa05b8ef496e9601e74ba3a43240ae9bb3d14aa.tar.xz
spack-5aa05b8ef496e9601e74ba3a43240ae9bb3d14aa.zip
travis: require sudo in an attempt to avoid build timeouts (#9327)
- Many container builds are timing out frequently during Spack tests in Travis CI. - Travis recommends to try `sudo: required` to see whether this is an infrastructure issue or something else. - added `sudo: required` to all Linux builds. - added --verbose to `spack test` invocation so that we can see more easily what tests it's timing out on. Signed-off-by: Todd Gamblin <tgamblin@llnl.gov>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index bfce03216b..34d8e5c3d3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,37 +23,44 @@ jobs:
include:
- stage: 'style checks'
python: '2.7'
+ sudo: required
os: linux
language: python
env: TEST_SUITE=flake8
- stage: 'unit tests + documentation'
python: '2.6'
+ sudo: required
os: linux
language: python
env: TEST_SUITE=unit
- python: '2.7'
+ sudo: required
os: linux
language: python
env: TEST_SUITE=unit
- python: '3.4'
+ sudo: required
os: linux
language: python
env: TEST_SUITE=unit
- python: '3.5'
+ sudo: required
os: linux
language: python
env: TEST_SUITE=unit
- python: '3.6'
+ sudo: required
os: linux
language: python
env: TEST_SUITE=unit
- python: '3.7'
+ sudo: required
os: linux
dist: xenial
- sudo: true
language: python
env: TEST_SUITE=unit
- python: '3.6'
+ sudo: required
os: linux
language: python
env: TEST_SUITE=doc