forked from angulardart/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
26 lines (26 loc) · 745 Bytes
/
Copy path.travis.yml
File metadata and controls
26 lines (26 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
language: dart
sudo: false
dart:
- dev
addons:
# otherwise a number of tests in test/security/html_sanitizer_test.dart fail
firefox: "latest"
before_script: ./tool/travis_before_script.sh
dart_task:
- test: -P travis -p vm
xvfb: false
# Disable parallelism on Firefox (-j 1)
# Causes flakiness – need to investigate
- test: -P travis -p firefox -j 1
- test: -P travis -p dartium
install_dartium: true
- dartfmt
# Treat warnings in lib directory as fatal
- dartanalyzer: --fatal-warnings lib
# Otherwise, errors in any directory are fatal
- dartanalyzer
# TODO(kevmoo) Enable codegen tests when issue is fixed
# https://github.com/dart-lang/angular2/issues/272
cache:
directories:
- $HOME/.pub-cache