Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: tool/travis.sh

Issue 1014573003: Adding Travis CI and Coveralls support (Closed) Base URL: https://github.com/dart-lang/dart-dev-compiler.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« pubspec.yaml ('K') | « test/test_util.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2
3 # Fast fail the script on failures.
4 set -e
5
6 function clean {
7 # This is a much more simple clean script, assuming git is available
8 pushd test
9 git clean -fdx
Siggi Cherem (dart-lang) 2015/03/17 15:03:50 I had not idea this existed, that's pretty cool!
kevmoo 2015/03/17 15:14:39 :-)
10 popd
11 pub install
12 }
13
14 clean
15
16 dart --checked test/all_tests.dart
Siggi Cherem (dart-lang) 2015/03/17 15:03:50 could we call `source test/test.sh` here instead?
kevmoo 2015/03/17 15:14:38 Yes, but let me get this in first. I was having t
Jennifer Messerly 2015/03/17 15:30:12 if it helps, we can move the diff'ing of expected
17
18 # Install dart_coveralls; gather and send coverage data.
19 if [ "$COVERALLS_TOKEN" ]; then
20 clean
21
22 pub global run dart_coveralls report \
23 --token $COVERALLS_TOKEN \
24 --retry 2 \
25 --exclude-test-files \
26 test/all_tests.dart
27 fi
OLDNEW
« pubspec.yaml ('K') | « test/test_util.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698