Skip to content
Snippets Groups Projects
Commit 4f699832 authored by Kevin Moore's avatar Kevin Moore
Browse files

updated travis integration

parent a9a030ca
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,4 @@ sudo: false
dart:
- stable
- dev
before_install:
- pub global activate dart_coveralls
script: ./tool/travis.sh
#!/bin/bash
# Fast fail the script on failures.
# Fast fail the script on failures.
set -e
dart --checked test/test_all.dart
pub run test
# Install dart_coveralls; gather and send coverage data.
if [ "$COVERALLS_TOKEN" ] && [ "$TRAVIS_DART_VERSION" = "stable" ]; then
pub global activate dart_coveralls
pub global run dart_coveralls report \
--token $COVERALLS_TOKEN \
--retry 2 \
--exclude-test-files \
--log-level warning \
test/test_all.dart
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment