misc cleanup
diff --git a/.travis.yml b/.travis.yml
index 96ba4fc..7777b6e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,3 +2,7 @@
dart: dev
sudo: false
script: ./tool/travis.sh
+
+branches:
+ only:
+ - master
diff --git a/example/example.html b/example/example.html
index 8006291..3bcfad7 100644
--- a/example/example.html
+++ b/example/example.html
@@ -36,7 +36,6 @@
<button id="page">Change page</button>
</div>
- <script type="application/dart" src="example.dart"></script>
- <script src="packages/browser/dart.js"></script>
+ <script defer src="example.dart.js"></script>
</body>
</html>
diff --git a/pubspec.yaml b/pubspec.yaml
index c19942b..7a07707 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -15,6 +15,5 @@
path: ^1.4.0
dev_dependencies:
- browser: ^0.10.0
grinder: ^0.8.0
- test: ^0.12.0
+ test: ^1.0.0
diff --git a/tool/travis.sh b/tool/travis.sh
index b450e6e..ce0f993 100755
--- a/tool/travis.sh
+++ b/tool/travis.sh
@@ -8,11 +8,7 @@
set -e
# Verify that the libraries are error free.
-dartanalyzer --fatal-warnings \
- example/example.dart \
- example/ga.dart \
- lib/usage.dart \
- test/all.dart
+dartanalyzer --fatal-warnings .
# Run the tests.
dart --enable-asserts test/all.dart