Skip to content

Commit cddec52

Browse files
committed
Test in Node.js v0.12, io.js, and Rhino 1.7R5
1 parent e1d4f59 commit cddec52

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.9; wget http://ringojs.org/downloads/$PACKAGE.zip && sudo unzip $PACKAGE -d /opt/ && rm $PACKAGE.zip"
1214
- "PACKAGE=ringojs-0.9; 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
@@ -43,9 +43,6 @@ module.exports = function(grunt) {
4343
'test-phantomjs': {
4444
'command': 'echo "Testing in PhantomJS..."; phantomjs "tests/tests.js"'
4545
},
46-
// Rhino 1.7R4 has a bug that makes it impossible to test in.
47-
// https://bugzilla.mozilla.org/show_bug.cgi?id=775566
48-
// To test, use Rhino 1.7R3, or wait (heh) for the 1.7R5 release.
4946
'test-rhino': {
5047
'command': 'echo "Testing in Rhino..."; rhino -opt -1 "tests.js"',
5148
'options': {

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This project is [bundled](https://github.com/joyent/node/blob/master/lib/punycod
1414

1515
## Installation
1616

17-
Via [npm](https://www.npmjs.org/) (only required for Node.js releases older than v0.6.2):
17+
Via [npm](https://www.npmjs.com/) (only required for Node.js releases older than v0.6.2):
1818

1919
```bash
2020
npm install punycode

0 commit comments

Comments
 (0)