Skip to content

Commit

Permalink
Run unit tests in dart2js (in Firefox) on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
greglittlefield-wf committed Nov 9, 2016
1 parent cb056a9 commit 771ad8f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ dart:
- "1.19.1"
with_content_shell: true
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- ./tool/setup_dartium.sh
- export PATH=$PATH":$PWD"
Expand Down
2 changes: 1 addition & 1 deletion test/over_react/component/dom_components_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ library dom_components_test;
// Tell dart2js that this library only needs to reflect the specified types.
// This speeds up compilation and makes JS output much smaller.
@MirrorsUsed(targets: const [
'over_react.Dom'
'over_react.dom_components.Dom'
])
import 'dart:mirrors';

Expand Down
3 changes: 2 additions & 1 deletion tool/dev.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ main(List<String> args) async {
..pubServe = true
..platforms = [
'vm',
'content-shell'
'content-shell',
'firefox',
]
// Prevent test load timeouts on Smithy.
..concurrency = 1
Expand Down

0 comments on commit 771ad8f

Please sign in to comment.