From a9fba2cbabb21f3c8725246166c31f0994df756c Mon Sep 17 00:00:00 2001 From: Caleb James DeLisle Date: Wed, 20 Apr 2016 18:08:01 +0200 Subject: [PATCH] Ok lets try some automated testing! --- .travis.yml | 17 +++++++++++++++-- package.json | 3 ++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index ef74d46b2..21eb513b4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,19 @@ branches: only: - master - diffdom + - beta + - netflux node_js: - - "0.12" - + - "4.2.1" +before_script: + - cp config.js.dist + - npm install + - npm install bower + - ./node_modules/bower/bin/bower install + - node ./server.js & + - sleep 2 +addons: + sauce_connect: + username: "cjdelisle" + access_key: + secure: "pgGh8YGXLPq6fpdwwK2jnjRtwXPbVWQ/HIFvwX7E6HBpzxxcF2edE8sCdonWW9TP2LQisZFmVLqoSnZWMnjBr2CBAMKMFvaHQDJDQCo4v3BXkID7KgqyKmNcwW+FPfSJ5MxNBro8/GE/awkhZzJLYGUTS5zi/gVuIUwdi6cHI8s=" diff --git a/package.json b/package.json index ccc7b682b..387a5df98 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "nthen": "~0.1.0" }, "devDependencies": { - "jshint": "~2.9.1" + "jshint": "~2.9.1", + "selenium-webdriver": "^2.53.1" }, "scripts": { "lint": "jshint --config .jshintrc --exclude-path .jshintignore ."