Navigation Menu

Skip to content

Commit

Permalink
Test in Node.js v0.12, io.js, and Rhino 1.7R5
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Feb 24, 2015
1 parent c605dea commit 7bb7c9f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
@@ -1,13 +1,15 @@
language: node_js language: node_js
node_js: node_js:
- "0.10" - "0.10"
- "0.12"
- "iojs"
before_script: before_script:
- "npm install -g grunt-cli" - "npm install -g grunt-cli"
# Narwhal uses a hardcoded path to openjdk v6, so use that version # Narwhal uses a hardcoded path to openjdk v6, so use that version
- "sudo apt-get update -qq" - "sudo apt-get update -qq"
- "sudo apt-get install -qq openjdk-6-jre" - "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_7R5; wget https://github.com/mozilla/rhino/releases/download/Rhino1_7R5_RELEASE/$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; 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.9; wget http://ringojs.org/downloads/$PACKAGE.zip && sudo unzip $PACKAGE -d /opt/ && rm $PACKAGE.zip" - "PACKAGE=ringojs-0.9; wget http://ringojs.org/downloads/$PACKAGE.zip && sudo unzip $PACKAGE -d /opt/ && rm $PACKAGE.zip"
- "PACKAGE=ringojs-0.9; sudo ln -s /opt/$PACKAGE/bin/ringo /usr/local/bin/ringo && sudo chmod +x /usr/local/bin/ringo" - "PACKAGE=ringojs-0.9; 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" - "PACKAGE=v0.3.2; wget https://github.com/280north/narwhal/archive/$PACKAGE.zip && sudo unzip $PACKAGE -d /opt/ && rm $PACKAGE.zip"
Expand Down
3 changes: 0 additions & 3 deletions Gruntfile.js
Expand Up @@ -19,9 +19,6 @@ module.exports = function(grunt) {
'test-phantomjs': { 'test-phantomjs': {
'command': 'echo "Testing in PhantomJS..."; phantomjs "tests/tests.js"' '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': { 'test-rhino': {
'command': 'echo "Testing in Rhino..."; rhino -opt -1 "tests.js"', 'command': 'echo "Testing in Rhino..."; rhino -opt -1 "tests.js"',
'options': { 'options': {
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -4,7 +4,7 @@ _base64_ is a robust base64 encoder/decoder that is fully compatible with [`atob


## Installation ## Installation


Via [npm](http://npmjs.org/): Via [npm](https://www.npmjs.com/):


```bash ```bash
npm install base-64 npm install base-64
Expand All @@ -28,7 +28,7 @@ In a browser:
<script src="base64.js"></script> <script src="base64.js"></script>
``` ```


In [Narwhal](http://narwhaljs.org/), [Node.js](http://nodejs.org/), and [RingoJS](http://ringojs.org/): In [Narwhal](http://narwhaljs.org/), [Node.js](https://nodejs.org/), and [RingoJS](http://ringojs.org/):


```js ```js
var base64 = require('base-64'); var base64 = require('base-64');
Expand Down

0 comments on commit 7bb7c9f

Please sign in to comment.