Skip to content

Commit

Permalink
publish results of coveralls only for py3.7 build
Browse files Browse the repository at this point in the history
  • Loading branch information
tmbo committed May 31, 2019
1 parent 9bc75c0 commit 2e03ad4
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ env:
# https://github.com/travis-ci/travis-ci/issues/7940
global:
- BOTO_CONFIG=/dev/null
- COVERALLS_PARALLEL=true
- PIP_USE_PEP517=false

install:
Expand All @@ -33,8 +32,6 @@ install:
before_script:
- mkdir $HOME/tmp
- export TMPDIR=$HOME/tmp
after_success:
- coveralls
jobs:
include:
- stage: test
Expand All @@ -46,13 +43,15 @@ jobs:
name: "Test 3.5"
python: "3.5"
script:
- py.test tests --cov rasa -v --cov-append
- py.test tests --cov rasa -v
- <<: *run-tests
name: "Test 3.6"
python: '3.6'
- <<: *run-tests
name: "Test 3.7"
python: '3.7'
after_success:
- coveralls # only this version will submit results to coveralls
- stage: integration
name: "Test API specification"
language: python
Expand All @@ -61,8 +60,6 @@ jobs:
script:
- swagger-cli validate docs/_static/spec/action-server.yml
- swagger-cli validate docs/_static/spec/rasa.yml
after_success:
- coveralls
- stage: test
if: branch =~ /(\d+\.\d+\.x)/ or branch = "master" # only new version PRs & PRs to master will test starter packs
name: "NLU starter pack (NLU only)"
Expand Down

0 comments on commit 2e03ad4

Please sign in to comment.