Merge branch 'master' of https://github.com/google/webdriver.dart
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..0f4b019
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,3 @@
+language: dart
+dart: dev
+script: ./tool/travis.sh
diff --git a/README.md b/README.md
index 6b336af..23d87b1 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,8 @@
webdriver
=========
+[![Build Status](https://travis-ci.org/google/webdriver.dart.svg?branch=master)](https://travis-ci.org/google/webdriver.dart)
+
Provides WebDriver bindings for Dart. These use the WebDriver JSON interface,
and as such, require the use of the WebDriver remote server.
diff --git a/test/test_util.dart b/test/test_util.dart
index 8cc0c78..491eef8 100644
--- a/test/test_util.dart
+++ b/test/test_util.dart
@@ -1,6 +1,7 @@
library webdriver_test_util;
import 'dart:io';
+
import 'package:path/path.dart' as path;
import 'package:unittest/unittest.dart';
import 'package:webdriver/webdriver.dart';
diff --git a/tool/travis.sh b/tool/travis.sh
new file mode 100755
index 0000000..d3712d6
--- /dev/null
+++ b/tool/travis.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+# Copyright (c) 2015, 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.
+
+# Fast fail the script on failures.
+set -e
+
+# Verify that the libraries are error free.
+dartanalyzer --fatal-warnings \
+ lib/webdriver.dart \
+ test/webdriver_test.dart
+
+# TODO: Setup chromedriver / selenium and run test/webdriver_test.dart.