Skip to content

Commit

Permalink
Test against dev version of analyzer on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
vsmenon committed Aug 2, 2016
1 parent bd789e9 commit 803b0e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pkg/dev_compiler/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cache:
- $HOME/.pub-cache/hosted
- node_modules
before_install:
- test "$ANALYZER" != master || ./tool/override_analyzer_dependency.sh
- test "$ANALYZER" != master -a "$ANALYZER" != dev || ./tool/override_analyzer_dependency.sh $ANALYZER
- pub global activate dart_coveralls
- export CHROME_CANARY_BIN=`./tool/get_chrome_canary.sh`
- export DISPLAY=:99.0
Expand All @@ -23,9 +23,11 @@ script:
env:
- ANALYZER=stable
- ANALYZER=master
- ANALYZER=dev
- TEST=coverage
- TEST=node
matrix:
allow_failures:
- env: ANALYZER=master
- env: ANALYZER=dev
- env: TEST=node
2 changes: 1 addition & 1 deletion pkg/dev_compiler/tool/override_analyzer_dependency.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ cd $( dirname "${BASH_SOURCE[0]}" )/..
. ./tool/dependency_overrides.sh

checkout_dependency_override_from_github \
analyzer dart-lang/sdk master /pkg/analyzer/
analyzer dart-lang/sdk $1 /pkg/analyzer/

0 comments on commit 803b0e3

Please sign in to comment.