From 6af4d790d155473e602197328822b43e1419993e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Go=C5=82=C4=99biowski?= <m.goleb@gmail.com>
Date: Sun, 2 Aug 2015 14:59:19 +0200
Subject: [PATCH] chore: Drop io.js, test on Node.js 4.x

Also, use the new faster Travis container infrastructure.
---
 .travis.yml  | 9 +++++----
 package.json | 3 ---
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index ffea9ad..45f8a55 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,14 +1,15 @@
+sudo: false
 language: node_js
 node_js:
-  - "iojs"
-  - "0.12"
   - "0.10"
+  - "0.12"
+  - "4"
 
-# Make sure we have new NPM.
+# Make sure we have new npm on Node 0.10.
 before_install:
   - export DISPLAY=:99.0
   - sh -e /etc/init.d/xvfb start
-  - npm install -g npm
+  - '[ "${TRAVIS_NODE_VERSION}" != "0.10" ] || npm install -g npm'
   - npm config set loglevel warn
 
 before_script:
diff --git a/package.json b/package.json
index bcd5ece..380f285 100644
--- a/package.json
+++ b/package.json
@@ -3,9 +3,6 @@
   "version": "0.1.5",
   "description": "A Karma plugin. Launch any browser on BrowserStack!",
   "main": "index.js",
-  "scripts": {
-    "test": "echo \"Error: no test specified\" && exit 1"
-  },
   "repository": {
     "type": "git",
     "url": "git://github.com/karma-runner/karma-browserstack-launcher.git"