aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml11
-rw-r--r--README.markdown2
-rw-r--r--tests/unit_tests/settings_test.coffee2
3 files changed, 14 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..a66657cc
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,11 @@
+language: node_js
+node_js: 0.8
+before_install:
+ - "sudo npm install -g coffee-script"
+ - "cake build"
+script: "cake test"
+notifications:
+ email: false
+branches:
+ only:
+ - master
diff --git a/README.markdown b/README.markdown
index 2bf6f2b0..d805abcf 100644
--- a/README.markdown
+++ b/README.markdown
@@ -1,6 +1,8 @@
Vimium - The Hacker's Browser
=============================
+![Build Status](https://travis-ci.org/philc/vimium.png)
+
Vimium is a Chrome extension that provides keyboard-based navigation and control in the spirit of the Vim
editor.
diff --git a/tests/unit_tests/settings_test.coffee b/tests/unit_tests/settings_test.coffee
index 4599ff03..408d6816 100644
--- a/tests/unit_tests/settings_test.coffee
+++ b/tests/unit_tests/settings_test.coffee
@@ -1,6 +1,6 @@
require "./test_helper.js"
-{Utils} = require "../../lib/utils.js"
+extend(global, require "../../lib/utils.js")
Utils.getCurrentVersion = -> '1.42'
global.localStorage = {}
{Settings} = require "../../background_scripts/settings.js"