Test on browsers - and exclude tests that require the vm
diff --git a/.travis.yml b/.travis.yml
index ae4290c..5b7ab84 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,7 +4,8 @@
- stable
dart_task:
- - test
+ - test: -p vm
+ - test: -p chrome,firefox
- dartanalyzer
matrix:
diff --git a/test/parser_test.dart b/test/parser_test.dart
index 20c26eb..69a52a5 100644
--- a/test/parser_test.dart
+++ b/test/parser_test.dart
@@ -1,3 +1,4 @@
+@TestOn('vm')
library parser_test;
import 'dart:convert';
diff --git a/test/tokenizer_test.dart b/test/tokenizer_test.dart
index c268f9f..dba4ece 100644
--- a/test/tokenizer_test.dart
+++ b/test/tokenizer_test.dart
@@ -1,3 +1,4 @@
+@TestOn('vm')
library tokenizer_test;
// Note: mirrors used to match the getattr usage in the original test