+ score bot (#1981)
diff --git a/.travis.yml b/.travis.yml
index e56babd..f7f0b39 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,6 +8,7 @@
- LINTER_BOT=benchmark
- LINTER_BOT=pana_baseline
- LINTER_BOT=release
+ - LINTER_BOT=score
# Only building master means that we don't run two builds for each pull request.
branches:
diff --git a/tool/travis.sh b/tool/travis.sh
index 13feef9..6bdb90d 100755
--- a/tool/travis.sh
+++ b/tool/travis.sh
@@ -11,6 +11,11 @@
if [ "$LINTER_BOT" = "release" ]; then
echo "Validating release..."
dart tool/bot/version_check.dart
+
+elif [ "$LINTER_BOT" = "score" ]; then
+
+ # Scorecard generation is best effort; don't fail the build.
+ set +e
echo ""
echo ""
echo "Generating scorecard..."