Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Tweak supported Node.js versions, drop io.js #1579

Merged
merged 1 commit into from
Sep 9, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
sudo: false
language: node_js
node_js:
- "iojs-v3.2.0"
- "0.12"
- "0.10"
- "4.0.0"
- "0.12"
- "4"

# Node.js 4 is supported but an optional socket.io dependency doesn't work yet, causing
# a lot of error messages on Travis. Travis then terminates the build because of excessive
# logging. All tests pass locally on Node.js 4.
# TODO remove this exception when https://github.com/socketio/socket.io/issues/2228 is fixed.
matrix:
allow_failures:
- node_js: "4"

env:
global:
- SAUCE_USERNAME: vojtajina
- secure: "bRVY+hYZwMf1SqVnMyZRJTLD0gN1hLx9/MwO8MM/qBiu3YNjXy49XElfMdzMKN6cZeKTmhcnjmZonbJuI1PQ2t+utGkyjnlVLJ/OlWptreKLzIlcbt4hrdPoTcjmUTwDWq9Ex9cVoYX8AzCasETttpczp3P+s3+vmOUj8z25JyU="

# Make sure we have new NPM.
# Make sure we have a new npm on Node 0.10.
before_install:
- '[ "${TRAVIS_NODE_VERSION}" != "0.8" ] || npm install -g [email protected]'
- npm install -g npm
- '[ "${TRAVIS_NODE_VERSION}" != "0.10" ] || npm install -g npm'
- npm config set loglevel warn

before_script:
Expand Down
8 changes: 4 additions & 4 deletions docs/intro/01-installation.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Karma runs on [Node.js] and is available as an [NPM] package.

## Installing Node.js or iojs
## Installing Node.js

There are [node.js](http://nodejs.org/download/) or [iojs](https://iojs.org/en/index.html) for both Mac and Windows.
On Linux, we recommend using [NVM](https://github.com/creationix/nvm).
On Mac or Linux we recommend using [NVM](https://github.com/creationix/nvm). On Windows, download Node.js
from [the official site](https://nodejs.org/).

Note: Karma works on the two latest stable versions of node. That is **0.10.x** and **0.12.x** at this point. Also works on iojs 2.x.x.
Note: Karma currently works on Node.js **0.10**, **0.12.x** and **4.x**. See [FAQ](04-faq.md#which-version-of-nodejs-does-karma-run-with-) for more info.

## Installing Karma and plugins

Expand Down
2 changes: 1 addition & 1 deletion docs/intro/04-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The latest stable version from NPM (`npm install karma`). See [versioning] for m


### Which version of Node.js does Karma run with ?
The three latest stable versions. That means `0.8`, `0.10` and `0.12` at this point. Also works on iojs `2.x.x`.
Karma works on all LTS versions node in active maintenance state (see [LTS docs](https://github.com/nodejs/LTS/blob/master/README.md) for more info) as well as the latest stable version. That is **0.12.x** and **4.x** at this point. Additionally, Node **0.10** is currently supported.


[mailing list]: https://groups.google.com/d/forum/karma-users
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
"karma": "./bin/karma"
},
"engines": {
"node": ">=0.10 <=0.12 || >=1 <=3"
"node": "0.10 || 0.12 || 4"
},
"version": "0.13.9",
"license": "MIT"
Expand Down