Skip to content

Commit

Permalink
test both stable and dev branches of SDK, but coverage only on stable
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Mar 27, 2015
1 parent 3ab4f01 commit ea8aef3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
1 change: 1 addition & 0 deletions pkg/dev_compiler/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: dart
sudo: false
dart:
- dev
- stable
before_install:
- pub global activate dart_coveralls
script: ./tool/travis.sh
14 changes: 1 addition & 13 deletions pkg/dev_compiler/tool/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,10 @@
# Fast fail the script on failures.
set -e

function clean {
# This is a much simpler clean script, assuming git is available
pushd test
git clean -fdx
popd
pub install
}

clean

dart --checked test/all_tests.dart

# Install dart_coveralls; gather and send coverage data.
if [ "$COVERALLS_TOKEN" ]; then
clean

if [ "$COVERALLS_TOKEN" ] && [ "$TRAVIS_DART_VERSION" = "stable" ]; then
pub global run dart_coveralls report \
--token $COVERALLS_TOKEN \
--retry 2 \
Expand Down

0 comments on commit ea8aef3

Please sign in to comment.