Merge pull request #17 from damondouglas/master

Added examples copied from README, fixed README
diff --git a/tool/travis.sh b/tool/travis.sh
index 9794fdb..03add83 100755
--- a/tool/travis.sh
+++ b/tool/travis.sh
@@ -36,6 +36,7 @@
 dart --checked test/all.dart
 
 # Gather and send coverage data.
-pub global activate dart_coveralls
-pub global run dart_coveralls report --token $REPO_TOKEN --retry 2 --exclude-test-files test/all.dart
-
+if [ "$REPO_TOKEN" ]; then
+  pub global activate dart_coveralls
+  pub global run dart_coveralls report --token $REPO_TOKEN --retry 2 --exclude-test-files test/all.dart
+fi