updated travis integration
diff --git a/.travis.yml b/.travis.yml
index 0808dd6..e110e4e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,6 +3,4 @@
 dart:
   - stable
   - dev
-before_install:
-  - pub global activate dart_coveralls
 script: ./tool/travis.sh
diff --git a/tool/travis.sh b/tool/travis.sh
index f7ac953..0f7c725 100755
--- a/tool/travis.sh
+++ b/tool/travis.sh
@@ -1,15 +1,15 @@
 #!/bin/bash
 
-# Fast fail the script on failures.   
+# Fast fail the script on failures.
 set -e
 
-dart --checked test/test_all.dart
+pub run test
 
 # Install dart_coveralls; gather and send coverage data.
 if [ "$COVERALLS_TOKEN" ] && [ "$TRAVIS_DART_VERSION" = "stable" ]; then
+  pub global activate dart_coveralls
   pub global run dart_coveralls report \
-    --token $COVERALLS_TOKEN \
-    --retry 2 \
     --exclude-test-files \
+    --log-level warning \
     test/test_all.dart
 fi