From c4ad2610e2e64e5a82bcffa3b21db7caf43f0a41 Mon Sep 17 00:00:00 2001 From: Jacob MacDonald Date: Thu, 28 Jan 2016 13:15:24 -0800 Subject: [PATCH] set up travis --- .travis.yml | 7 +++++++ lib/src/generate/build.dart | 1 - tool/travis.sh | 3 +-- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..5826f9bc1 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: dart + +dart: + - dev + - stable + +script: ./tool/travis.sh diff --git a/lib/src/generate/build.dart b/lib/src/generate/build.dart index 5fc665252..60b1d8900 100644 --- a/lib/src/generate/build.dart +++ b/lib/src/generate/build.dart @@ -5,7 +5,6 @@ import 'dart:async'; import 'dart:convert'; import 'dart:io'; -import 'package:glob/glob.dart'; import 'package:path/path.dart' as path; import 'package:yaml/yaml.dart'; diff --git a/tool/travis.sh b/tool/travis.sh index 5afae3cbe..b77153f1a 100755 --- a/tool/travis.sh +++ b/tool/travis.sh @@ -9,8 +9,7 @@ set -e # Verify that the libraries are error free. dartanalyzer --fatal-warnings \ - lib/sample.dart \ - test/all_test.dart + lib/build.dart # Run the tests. pub run test