| Index: packages/which/drone.sh
|
| diff --git a/packages/which/drone.sh b/packages/which/drone.sh
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..ac92240c390ae293ecc91f13e4cdfa932bbe13f7
|
| --- /dev/null
|
| +++ b/packages/which/drone.sh
|
| @@ -0,0 +1,19 @@
|
| +#!/usr/bin/env bash
|
| +set -o xtrace
|
| +
|
| +pub get
|
| +
|
| +# TODO: Remove once https://github.com/drone/drone/issues/821 is fixed.
|
| +export PATH="$PATH":"~/.pub-cache/bin"
|
| +
|
| +# Run tests.
|
| +pub global activate test_runner
|
| +test_runner -v
|
| +
|
| +# TODO: dartanalyzer on all libraries
|
| +
|
| +# Install dart_coveralls; gather and send coverage data.
|
| +if [ "$REPO_TOKEN" ]; then
|
| + pub global activate dart_coveralls
|
| + dart_coveralls report --token $REPO_TOKEN --retry 3 test/test.dart
|
| +fi
|
|
|