Skip to content

Commit

Permalink
drop support for node 0.10, 0.12 and io (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbalestra authored and matteofigus committed Jan 18, 2017
1 parent 768f28b commit 2973683
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .node-version
@@ -1 +1 @@
0.10.48
4.7.1
7 changes: 2 additions & 5 deletions .travis.yml
Expand Up @@ -2,18 +2,15 @@ language: node_js

matrix:
include:
- node_js: "0.10"
env: SAUCE=true
- node_js: "0.12"
- node_js: "iojs"
- node_js: "4"
env: SAUCE=true
- node_js: "5"
- node_js: "6"

before_script:
- npm install -g grunt-cli

script:
script:
- grunt test
- "[ $SAUCE == false ] || [ $TRAVIS_SECURE_ENV_VARS == false ] || grunt sauce"

Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Expand Up @@ -10,7 +10,7 @@ version: "{build}"
# what combinations to test
environment:
matrix:
- nodejs_version: 0.10.35
- nodejs_version: 4.7.1

# Get the stable version of node
install:
Expand Down
6 changes: 3 additions & 3 deletions client/README.md
Expand Up @@ -5,7 +5,7 @@ Node.js client for [OpenComponents](https://github.com/opentable/oc)

[![NPM](https://nodei.co/npm/oc-client.png?downloads=true)](https://npmjs.org/package/oc-client)

Node.js version: **0.10.0** required
Node.js version: **4** required

Build status: Linux: [![Build Status](https://secure.travis-ci.org/opentable/oc.png?branch=master)](http://travis-ci.org/opentable/oc) | Windows: [![Build status](https://ci.appveyor.com/api/projects/status/8cklgw4hymutqrsg?svg=true)](https://ci.appveyor.com/project/matteofigus/oc)

Expand Down Expand Up @@ -196,8 +196,8 @@ client.renderComponents([{
timeout: 3.0
}, function(errors, htmls){
console.log(html);
// => ["<div>Header</div>",
// "<p>Footer</p>",
// => ["<div>Header</div>",
// "<p>Footer</p>",
// "<oc-component href=\"\/\/registry.com\/advert\/?position=left\"><\/oc-component>"]
});
```
2 changes: 1 addition & 1 deletion client/package.json
Expand Up @@ -20,6 +20,6 @@
"stringformat": "0.0.5"
},
"engines": {
"node": ">=0.10.0"
"node": ">=4"
}
}
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -10,7 +10,7 @@
"test": "grunt test"
},
"engines": {
"node": ">=0.10.35"
"node": ">=4"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 2973683

Please sign in to comment.