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.
This commit is contained in:
parent
0cef7b4355
commit
305c95b69f
17
.travis.yml
17
.travis.yml
@ -14,17 +14,12 @@ branches:
|
|||||||
jobs:
|
jobs:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
include:
|
include:
|
||||||
- stage: 'flake8 + documentation'
|
- stage: 'style checks'
|
||||||
python: '2.7'
|
python: '2.7'
|
||||||
os: linux
|
os: linux
|
||||||
language: python
|
language: python
|
||||||
env: TEST_SUITE=flake8
|
env: TEST_SUITE=flake8
|
||||||
- stage: 'flake8 + documentation'
|
- stage: 'unit tests + documentation'
|
||||||
python: '3.6'
|
|
||||||
os: linux
|
|
||||||
language: python
|
|
||||||
env: TEST_SUITE=doc
|
|
||||||
- stage: 'unit tests'
|
|
||||||
python: '2.6'
|
python: '2.6'
|
||||||
os: linux
|
os: linux
|
||||||
language: python
|
language: python
|
||||||
@ -49,6 +44,10 @@ jobs:
|
|||||||
os: linux
|
os: linux
|
||||||
language: python
|
language: python
|
||||||
env: [ TEST_SUITE=unit, COVERAGE=true ]
|
env: [ TEST_SUITE=unit, COVERAGE=true ]
|
||||||
|
- python: '3.6'
|
||||||
|
os: linux
|
||||||
|
language: python
|
||||||
|
env: TEST_SUITE=doc
|
||||||
- stage: 'unit tests - osx'
|
- stage: 'unit tests - osx'
|
||||||
os: osx
|
os: osx
|
||||||
language: generic
|
language: generic
|
||||||
@ -96,8 +95,8 @@ jobs:
|
|||||||
env: [ TEST_SUITE=build, COVERAGE=true, 'SPEC=mpich' ]
|
env: [ TEST_SUITE=build, COVERAGE=true, 'SPEC=mpich' ]
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- 'flake8 + documentation'
|
- 'style checks'
|
||||||
- 'unit tests'
|
- 'unit tests + documentation'
|
||||||
- 'build tests'
|
- 'build tests'
|
||||||
- name: 'unit tests - osx'
|
- name: 'unit tests - osx'
|
||||||
if: type IN (cron)
|
if: type IN (cron)
|
||||||
|
Loading…
Reference in New Issue
Block a user