Commit f4dbdabe authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Do not upload anything when tests fail on travis. (#8065)

This used to be the logic before I made the tests portable.
parent 68221a80
...@@ -13,10 +13,7 @@ install: ...@@ -13,10 +13,7 @@ install:
before_script: before_script:
- ./dev/bots/travis_setup.sh - ./dev/bots/travis_setup.sh
script: script:
- ./bin/cache/dart-sdk/bin/dart ./dev/bots/test.dart - (./bin/cache/dart-sdk/bin/dart ./dev/bots/test.dart && ./dev/bots/travis_upload.sh)
- ./dev/bots/travis_upload.sh
after_success:
- (cd packages/flutter && coveralls-lcov coverage/lcov.info)
cache: cache:
directories: directories:
- $HOME/.pub-cache - $HOME/.pub-cache
...@@ -17,3 +17,5 @@ fi ...@@ -17,3 +17,5 @@ fi
# generate the API docs, upload them # generate the API docs, upload them
./dev/bots/docs.sh ./dev/bots/docs.sh
(cd packages/flutter && coveralls-lcov coverage/lcov.info)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment