Added flags to unit tests + OSX build done once per day (#6988)
* Adding flags to codecov reports * OSX builds are triggered once a day
This commit is contained in:
parent
9835f5077b
commit
1cc9241030
31
.travis.yml
31
.travis.yml
@ -14,12 +14,17 @@ branches:
|
|||||||
jobs:
|
jobs:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
include:
|
include:
|
||||||
- stage: 'flake8'
|
- stage: 'flake8 + documentation'
|
||||||
python: '2.7'
|
python: '2.7'
|
||||||
os: linux
|
os: linux
|
||||||
language: python
|
language: python
|
||||||
env: TEST_SUITE=flake8
|
env: TEST_SUITE=flake8
|
||||||
- stage: 'unit tests + documentation'
|
- stage: 'flake8 + documentation'
|
||||||
|
python: '2.7'
|
||||||
|
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
|
||||||
@ -44,13 +49,10 @@ jobs:
|
|||||||
os: linux
|
os: linux
|
||||||
language: python
|
language: python
|
||||||
env: [ TEST_SUITE=unit, COVERAGE=true ]
|
env: [ TEST_SUITE=unit, COVERAGE=true ]
|
||||||
- os: osx
|
- stage: 'unit tests - osx'
|
||||||
|
os: osx
|
||||||
language: generic
|
language: generic
|
||||||
env: [ TEST_SUITE=unit, PYTHON_VERSION=2.7, COVERAGE=true ]
|
env: [ TEST_SUITE=unit, PYTHON_VERSION=2.7, COVERAGE=true ]
|
||||||
- python: '2.7'
|
|
||||||
os: linux
|
|
||||||
language: python
|
|
||||||
env: TEST_SUITE=doc
|
|
||||||
# mpich (AutotoolsPackage)
|
# mpich (AutotoolsPackage)
|
||||||
- stage: 'build tests'
|
- stage: 'build tests'
|
||||||
python: '2.7'
|
python: '2.7'
|
||||||
@ -93,6 +95,14 @@ jobs:
|
|||||||
language: python
|
language: python
|
||||||
env: [ TEST_SUITE=build, COVERAGE=true, 'SPEC=mpich' ]
|
env: [ TEST_SUITE=build, COVERAGE=true, 'SPEC=mpich' ]
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- 'flake8 + documentation'
|
||||||
|
- 'unit tests'
|
||||||
|
- 'build tests'
|
||||||
|
- name: 'unit tests - osx'
|
||||||
|
if: type IN (cron)
|
||||||
|
|
||||||
|
|
||||||
#=============================================================================
|
#=============================================================================
|
||||||
# Environment
|
# Environment
|
||||||
#=============================================================================
|
#=============================================================================
|
||||||
@ -148,10 +158,9 @@ before_script:
|
|||||||
#=============================================================================
|
#=============================================================================
|
||||||
# Building
|
# Building
|
||||||
#=============================================================================
|
#=============================================================================
|
||||||
script: share/spack/qa/run-$TEST_SUITE-tests
|
script:
|
||||||
|
- share/spack/qa/run-$TEST_SUITE-tests
|
||||||
after_success:
|
- if [[ "$COVERAGE" == "true" ]]; then codecov --env PYTHON_VERSION --required --flags "${TEST_SUITE}${TRAVIS_OS_NAME}"; fi
|
||||||
- codecov --env PY_VERSION
|
|
||||||
|
|
||||||
#=============================================================================
|
#=============================================================================
|
||||||
# Notifications
|
# Notifications
|
||||||
|
Loading…
Reference in New Issue
Block a user