Enable Travis, rename analysis_options, update .gitignore
diff --git a/.gitignore b/.gitignore
index 7dbf035..f73b2f9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,15 +1,4 @@
-# Don’t commit the following directories created by pub.
-.buildlog
-.pub/
-build/
-packages
+.dart_tool/
.packages
-
-# Or the files created by dart2js.
-*.dart.js
-*.js_
-*.js.deps
-*.js.map
-
-# Include when developing application packages.
-pubspec.lock
\ No newline at end of file
+.pub/
+pubspec.lock
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..25aeabe
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,23 @@
+language: dart
+
+dart:
+ - dev
+ - stable
+
+dart_task:
+ - test: -p vm,chrome
+ - dartanalyzer
+
+matrix:
+ include:
+ # Only validate formatting using the dev release
+ - dart: dev
+ dart_task: dartfmt
+
+# Only building master means that we don't run two builds for each pull request.
+branches:
+ only: [master]
+
+cache:
+ directories:
+ - $HOME/.pub-cache
diff --git a/.analysis_options b/analysis_options.yaml
similarity index 100%
rename from .analysis_options
rename to analysis_options.yaml
diff --git a/pubspec.yaml b/pubspec.yaml
index 1db777b..ecf277b 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
name: source_maps
-version: 0.10.4
+version: 0.10.5-dev
author: Dart Team <misc@dartlang.org>
description: Library to programmatically manipulate source map files.
homepage: http://github.com/dart-lang/source_maps
diff --git a/test/run.dart b/test/run.dart
deleted file mode 100755
index 477da8a..0000000
--- a/test/run.dart
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/usr/bin/env dart
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-library test.run;
-
-import 'package:test/compact_vm_config.dart';
-import 'package:test/test.dart';
-
-import 'builder_test.dart' as builder_test;
-import 'end2end_test.dart' as end2end_test;
-import 'parser_test.dart' as parser_test;
-import 'printer_test.dart' as printer_test;
-import 'refactor_test.dart' as refactor_test;
-import 'utils_test.dart' as utils_test;
-import 'vlq_test.dart' as vlq_test;
-
-main(List<String> arguments) {
- var pattern = new RegExp(arguments.length > 0 ? arguments[0] : '.');
- useCompactVMConfiguration();
-
- void addGroup(testFile, testMain) {
- if (pattern.hasMatch(testFile)) {
- group(testFile.replaceAll('_test.dart', ':'), testMain);
- }
- }
-
- addGroup('builder_test.dart', builder_test.main);
- addGroup('end2end_test.dart', end2end_test.main);
- addGroup('parser_test.dart', parser_test.main);
- addGroup('printer_test.dart', printer_test.main);
- addGroup('refactor_test.dart', refactor_test.main);
- addGroup('utils_test.dart', utils_test.main);
- addGroup('vlq_test.dart', vlq_test.main);
-}