summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2018-07-23 01:38:09 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2018-07-23 07:27:48 -0700
commit305c95b69fec32cbde60d59e9a538be49c857a83 (patch)
treed89599fb1508e047180246ff0cc826adc3926440 /.travis.yml
parent0cef7b435596f8d283143f5466fddc25adbe292d (diff)
downloadspack-305c95b69fec32cbde60d59e9a538be49c857a83.tar.gz
spack-305c95b69fec32cbde60d59e9a538be49c857a83.tar.bz2
spack-305c95b69fec32cbde60d59e9a538be49c857a83.tar.xz
spack-305c95b69fec32cbde60d59e9a538be49c857a83.zip
tests: move doc tests to the unit test stage
- Frequently, the documentation build will fail mysteriously in some spack command. - The cause is some new bug introduced by the PR, but this is not apparent because the unit tests haven't run and the doc tests aren't targeted at code bugs. - Users end up puzzled by doc failures when they're really code failures. - Move the doc tests parallel with the code tests, so that we can more easily see bugs like this.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml17
1 files changed, 8 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml
index 538aad5133..73cf39adea 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,17 +14,12 @@ branches:
jobs:
fast_finish: true
include:
- - stage: 'flake8 + documentation'
+ - stage: 'style checks'
python: '2.7'
os: linux
language: python
env: TEST_SUITE=flake8
- - stage: 'flake8 + documentation'
- python: '3.6'
- os: linux
- language: python
- env: TEST_SUITE=doc
- - stage: 'unit tests'
+ - stage: 'unit tests + documentation'
python: '2.6'
os: linux
language: python
@@ -49,6 +44,10 @@ jobs:
os: linux
language: python
env: [ TEST_SUITE=unit, COVERAGE=true ]
+ - python: '3.6'
+ os: linux
+ language: python
+ env: TEST_SUITE=doc
- stage: 'unit tests - osx'
os: osx
language: generic
@@ -96,8 +95,8 @@ jobs:
env: [ TEST_SUITE=build, COVERAGE=true, 'SPEC=mpich' ]
stages:
- - 'flake8 + documentation'
- - 'unit tests'
+ - 'style checks'
+ - 'unit tests + documentation'
- 'build tests'
- name: 'unit tests - osx'
if: type IN (cron)