blob: e761c3419565f8cf4f76e4e6feaed7f16d30c95b [file]
#!/bin/bash
set -e
if [ "$COVERALLS_TOKEN" ]; then
echo "Running coverage..."
pub global activate dart_coveralls
pub global run dart_coveralls report --token "$COVERALLS_TOKEN" --debug test/cassowary_test.dart
echo "Coverage complete..."
else
echo "COVERALLS_TOKEN is unset. Skipping Coverage..."
fi