diff --git a/.travis.yml b/.travis.yml index 74f02a3..0cfdcbd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,15 @@ language: node_js node_js: - "0.10" + - "0.12" + - "iojs" before_script: - "npm install -g grunt-cli" # Narwhal uses a hardcoded path to openjdk v6, so use that version - "sudo apt-get update -qq" - "sudo apt-get install -qq openjdk-6-jre" - - "PACKAGE=rhino1_7R3; wget http://ftp.mozilla.org/pub/mozilla.org/js/$PACKAGE.zip && sudo unzip $PACKAGE -d /opt/ && rm $PACKAGE.zip" - - "PACKAGE=rhino1_7R3; echo -e '#!/bin/sh\\njava -jar /opt/'$PACKAGE'/js.jar $@' | sudo tee /usr/local/bin/rhino && sudo chmod +x /usr/local/bin/rhino" + - "PACKAGE=rhino1_7R5; wget https://github.com/mozilla/rhino/releases/download/Rhino1_7R5_RELEASE/$PACKAGE.zip && sudo unzip $PACKAGE -d /opt/ && rm $PACKAGE.zip" + - "PACKAGE=rhino1_7R5; echo -e '#!/bin/sh\\njava -jar /opt/'$PACKAGE'/js.jar $@' | sudo tee /usr/local/bin/rhino && sudo chmod +x /usr/local/bin/rhino" - "PACKAGE=ringojs-0.11; wget https://github.com/ringo/ringojs/releases/download/v0.11.0/$PACKAGE.zip && sudo unzip $PACKAGE -d /opt/ && rm $PACKAGE.zip" - "PACKAGE=ringojs-0.11; sudo ln -s /opt/$PACKAGE/bin/ringo /usr/local/bin/ringo && sudo chmod +x /usr/local/bin/ringo" - "PACKAGE=v0.3.2; wget https://github.com/280north/narwhal/archive/$PACKAGE.zip && sudo unzip $PACKAGE -d /opt/ && rm $PACKAGE.zip" diff --git a/Gruntfile.js b/Gruntfile.js index 65e41f7..a2fb257 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -25,9 +25,6 @@ module.exports = function(grunt) { 'test-phantomjs': { 'command': 'echo "Testing in PhantomJS..."; phantomjs "tests/tests.js"' }, - // Rhino 1.7R4 has a bug that makes it impossible to test in. - // https://bugzilla.mozilla.org/show_bug.cgi?id=775566 - // To test, use Rhino 1.7R3, or wait (heh) for the 1.7R5 release. 'test-rhino': { 'command': 'echo "Testing in Rhino..."; rhino -opt -1 "tests.js"', 'options': {