Skip to content

Commit 4d2db54

Browse files
committed
Test in Node.js v0.12, io.js, and Rhino 1.7R5
1 parent 1961da4 commit 4d2db54

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.travis.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
language: node_js
22
node_js:
33
- "0.10"
4+
- "0.12"
5+
- "iojs"
46
before_script:
57
- "npm install -g grunt-cli"
68
# Narwhal uses a hardcoded path to openjdk v6, so use that version
79
- "sudo apt-get update -qq"
810
- "sudo apt-get install -qq openjdk-6-jre"
9-
- "PACKAGE=rhino1_7R3; wget http://ftp.mozilla.org/pub/mozilla.org/js/$PACKAGE.zip && sudo unzip $PACKAGE -d /opt/ && rm $PACKAGE.zip"
10-
- "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"
11+
- "PACKAGE=rhino1_7R5; wget https://github.com/mozilla/rhino/releases/download/Rhino1_7R5_RELEASE/$PACKAGE.zip && sudo unzip $PACKAGE -d /opt/ && rm $PACKAGE.zip"
12+
- "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"
1113
- "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"
1214
- "PACKAGE=ringojs-0.11; sudo ln -s /opt/$PACKAGE/bin/ringo /usr/local/bin/ringo && sudo chmod +x /usr/local/bin/ringo"
1315
- "PACKAGE=v0.3.2; wget https://github.com/280north/narwhal/archive/$PACKAGE.zip && sudo unzip $PACKAGE -d /opt/ && rm $PACKAGE.zip"

Gruntfile.js

-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ module.exports = function(grunt) {
2727
'test-phantomjs': {
2828
'command': 'echo "Testing in PhantomJS..."; phantomjs "tests/tests.js"'
2929
},
30-
// Rhino 1.7R4 has a bug that makes it impossible to test in.
31-
// https://bugzilla.mozilla.org/show_bug.cgi?id=775566
32-
// To test, use Rhino 1.7R3, or wait (heh) for the 1.7R5 release.
3330
'test-rhino': {
3431
'command': 'echo "Testing in Rhino..."; rhino -opt -1 "tests.js"',
3532
'options': {

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Feel free to fork if you see possible improvements!
66

77
## Installation
88

9-
Via [npm](https://www.npmjs.org/):
9+
Via [npm](https://www.npmjs.com/):
1010

1111
```bash
1212
npm install utf8

0 commit comments

Comments
 (0)