diff --git a/.travis.yml b/.travis.yml index be1a44b271..b133088cc1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,10 +13,7 @@ install: before_script: - ./dev/bots/travis_setup.sh script: - - ./bin/cache/dart-sdk/bin/dart ./dev/bots/test.dart - - ./dev/bots/travis_upload.sh -after_success: - - (cd packages/flutter && coveralls-lcov coverage/lcov.info) + - (./bin/cache/dart-sdk/bin/dart ./dev/bots/test.dart && ./dev/bots/travis_upload.sh) cache: directories: - $HOME/.pub-cache diff --git a/dev/bots/travis_upload.sh b/dev/bots/travis_upload.sh index 0231e23f4d..27b0ac2424 100755 --- a/dev/bots/travis_upload.sh +++ b/dev/bots/travis_upload.sh @@ -17,3 +17,5 @@ fi # generate the API docs, upload them ./dev/bots/docs.sh + +(cd packages/flutter && coveralls-lcov coverage/lcov.info)