Skip to content

Commit

Permalink
Merge pull request #17 from MTgeophysics/travis-50-min-limit
Browse files Browse the repository at this point in the history
Aviod Travis-CI build timeout
  • Loading branch information
YingzhiGou committed Nov 28, 2017
2 parents 12878a6 + 6a9c856 commit 2220d8f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Expand Up @@ -32,28 +32,28 @@ stages:
jobs:
include:
- stage: prepare cache # run saperate job to build dependencies to avoid 50 min timeout on travis
script: chmod -vR +x ./bin/* && . ./bin/travis-setup-env.sh
script: true # place holder, the before_Script will run anyway
env:
- MATPLOTLIB_VERSION=2.0.2 QT_VERSION=5
- stage: prepare cache
script: chmod -vR +x ./bin/* && . ./bin/travis-setup-env.sh
script: true
env:
- MATPLOTLIB_VERSION=2.1.0 QT_VERSION=5
- stage: prepare cache
script: chmod -vR +x ./bin/* && . ./bin/travis-setup-env.sh
script: true
env:
- MATPLOTLIB_VERSION=2.0.2 QT_VERSION=4
- stage: prepare cache
script: chmod -vR +x ./bin/* && . ./bin/travis-setup-env.sh
script: true
env:
- MATPLOTLIB_VERSION=1.5.3 QT_VERSION=5
# - stage: test
# - stage: deploy

before_script:
- if [ -z ${CACHED+x} ]; then chmod -vR +x ./bin/* && . ./bin/travis-setup-env.sh; fi
- chmod -vR +x ./bin/* && . ./bin/travis-setup-env.sh

script:
script: # testing stages, will run only in testing stages
- py.test -v -n 4 --dist=loadscope --cov=mtpy --cov-report= tests/analysis
- py.test -v -n 4 --dist=loadscope --cov=mtpy --cov-report= tests/core
- MTPY_TEST_COMPARE_IMAGE=False py.test -v -n 4 --dist=loadscope --cov=mtpy --cov-report= tests/imaging
Expand Down

0 comments on commit 2220d8f

Please sign in to comment.