| Index: packages/usage/tool/drone.sh
|
| diff --git a/packages/usage/tool/travis.sh b/packages/usage/tool/drone.sh
|
| similarity index 61%
|
| copy from packages/usage/tool/travis.sh
|
| copy to packages/usage/tool/drone.sh
|
| index a3f3082192c8fc8f62b93d74f6001573da0f702b..ff46f4fcc4ecbcb1935e49732b18ec2edb28dda9 100755
|
| --- a/packages/usage/tool/travis.sh
|
| +++ b/packages/usage/tool/drone.sh
|
| @@ -7,25 +7,21 @@
|
| # Fast fail the script on failures.
|
| set -e
|
|
|
| +# Display installed versions.
|
| +dart --version
|
| +
|
| +# Get our packages.
|
| +pub get
|
| +
|
| # Verify that the libraries are error free.
|
| dartanalyzer --fatal-warnings \
|
| - example/example.dart \
|
| - example/ga.dart \
|
| lib/usage.dart \
|
| + lib/usage_html.dart \
|
| + lib/usage_io.dart \
|
| test/all.dart
|
|
|
| # Run the tests.
|
| -dart -c test/all.dart
|
| +dart test/all.dart
|
|
|
| # Measure the size of the compiled JS, for the dart:html version of the library.
|
| dart tool/grind.dart build
|
| -
|
| -# Install dart_coveralls; gather and send coverage data.
|
| -if [ "$REPO_TOKEN" ]; then
|
| - pub global activate dart_coveralls
|
| - pub global run dart_coveralls report \
|
| - --token $REPO_TOKEN \
|
| - --retry 2 \
|
| - --exclude-test-files \
|
| - test/all.dart
|
| -fi
|
|
|