From a1383c34b5cbfdf4850f45c191f06c394ce99fa1 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 28 Oct 2013 09:29:57 -0700 Subject: [PATCH] First round of sauce support cleanup. --- .travis.yml | 9 +-- test/index.html | 13 ++-- test/saucelabs.js | 169 ++++++++++++++++++++++++---------------------- 3 files changed, 96 insertions(+), 95 deletions(-) diff --git a/.travis.yml b/.travis.yml index 096979474..74e03fe40 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,11 +6,8 @@ node_js: env: global: - BIN="node" BUILD=false MAKE=false OPTION="" SAUCELABS=false - - # SauceLabs credentials: - - SAUCE_USERNAME="pimterry" - - secure: "KBETrs7sRrU3V8itVgLzBUVkzP9XXpAEZVjbd8icoNL9eVW3h4Kk5g/bOa06IAml0ThnMZztIwMKkplCIam6W/Cv+eIOiQT2kkG32lHFwbVXEkbq+rKj8XmpRmXBf/Th63V+u5GMVmQlYrIfdXju6cFfSEZ2uG8SHVg9hFyyf8c=" - + - SAUCE_USERNAME="jdalton" + - secure: "woILQltl1pI3DgadZ5NrcqntdPvnRmQBwIVNZL91Ht5d9snIhgyAixI6xNAS8F8BzD9RzqzVPHay5sHfn+GhNaojcaiHs1nXAbdyclevMyfP+3MQ1HGfMSU0bv1GdT35LJ+C0u4Y3SuuZSbBlNEeLXRPMngPZahf4xL8RsZz/is=" matrix: - BUILD="compat" - BUILD="modern" @@ -54,7 +51,7 @@ before_install: - "[ $BIN == 'rhino' ] && echo -e '#!/bin/sh\\njava -jar /opt/rhino-1.7R5/js.jar $@' | sudo tee /usr/local/bin/rhino && sudo chmod +x /usr/local/bin/rhino || true" - "[ $BIN == 'ringo' ] && wget http://ringojs.org/downloads/ringojs-0.9.zip && sudo unzip ringojs-0.9 -d /opt && rm ringojs-0.9.zip || true" - "[ $BIN == 'ringo' ] && sudo ln -s /opt/ringojs-0.9/bin/ringo /usr/local/bin/ringo && sudo chmod +x /usr/local/bin/ringo || true" - - "[ $SAUCELABS != false ] && npm install connect request sauce-tunnel || true" + - "[ $SAUCELABS != false ] && npm i connect request sauce-tunnel || true" script: - "[ $BIN == 'istanbul' ] && $BIN cover ./test/test.js || true" - "[ $BUILD != false ] && [ $BUILD != 'compat' ] && MAKE=true || true" diff --git a/test/index.html b/test/index.html index 5d312b25f..a397658b5 100644 --- a/test/index.html +++ b/test/index.html @@ -16,13 +16,6 @@
-