Skip to content

Commit

Permalink
Update travis script to actually run dartanalyzer (dart-lang/mockito#102
Browse files Browse the repository at this point in the history
)

Current dartanalyzer returns: "Options file not found: .analysis_options"
Updating the file name to point at the actual analysis options in the repo
  • Loading branch information
killermonk authored and kevmoo committed Feb 24, 2018
1 parent f2b9b3f commit c5bf532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/mockito/tool/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ echo "PASSED"

# Make sure we pass the analyzer
echo "Checking dartanalyzer..."
FAILS_ANALYZER="$(find lib test -name "*.dart" | xargs dartanalyzer --options .analysis_options)"
FAILS_ANALYZER="$(find lib test -name "*.dart" | xargs dartanalyzer --options analysis_options.yaml)"
if [[ $FAILS_ANALYZER == *"[error]"* ]]
then
echo "FAILED"
Expand Down

0 comments on commit c5bf532

Please sign in to comment.