Skip to content

Commit

Permalink
Merge pull request #238 from google/travis_tweaks
Browse files Browse the repository at this point in the history
Run travis builds in container infrastructure
  • Loading branch information
cbracken committed Mar 4, 2015
2 parents 59249d6 + 69414fb commit baf0f02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: dart
sudo: false
dart:
- stable
- dev
Expand Down
2 changes: 1 addition & 1 deletion tool/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ echo "Running tests..."
dart -c test/all_tests.dart

# Gather and send coverage data.
if [ "$REPO_TOKEN" ]; then
if [ "$REPO_TOKEN" ] && [ "$TRAVIS_DART_VERSION" = "stable" ]; then
echo "Collecting coverage..."
pub global activate dart_coveralls
pub global run dart_coveralls report \
Expand Down

0 comments on commit baf0f02

Please sign in to comment.