Skip to content

Commit

Permalink
Remove node@4, add node@10
Browse files Browse the repository at this point in the history
  • Loading branch information
mroderick authored and fatso83 committed May 2, 2018
1 parent cfccaf3 commit 5503f73
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
18 changes: 9 additions & 9 deletions .travis.yml
@@ -1,9 +1,9 @@
language: node_js
node_js:
# https://github.com/nodejs/LTS
- "4" # ends April 2018
- "6" # ends April 2019
- "8" # ends December 2019
- "10" # ends April 2021

sudo: false

Expand All @@ -20,24 +20,24 @@ before_install:
- npm config set strict-ssl false
- npm install coveralls
# Prevent mochify -> puppeteer install script to run unnecessarily
- if [ "x$TRAVIS_NODE_VERSION" != "x8" ]; then npm config set ignore-scripts true; fi
- if [ "x$TRAVIS_NODE_VERSION" != "x10" ]; then npm config set ignore-scripts true; fi

before_script:
# Make npm run work for the script phase:
- if [ "x$TRAVIS_NODE_VERSION" != "x8" ]; then npm config set ignore-scripts false; fi
- if [ "x$TRAVIS_NODE_VERSION" != "x10" ]; then npm config set ignore-scripts false; fi
# these build targets only need to run once per build, so let's conserve a few resources
# ESLint only supports Node >=4
- if [ "x$TRAVIS_NODE_VERSION" = "x8" ]; then npm run lint; fi
- if [ "x$TRAVIS_NODE_VERSION" = "x8" ]; then npm run lint-markdown; fi
- if [ "x$TRAVIS_NODE_VERSION" = "x8" ]; then npm run test-headless -- --allow-chrome-as-root; fi
- if [ "x$TRAVIS_NODE_VERSION" = "x8" ]; then npm run test-webworker -- --allow-chrome-as-root; fi
- if [ "x$TRAVIS_NODE_VERSION" = "x8" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then npm run test-cloud; fi
- if [ "x$TRAVIS_NODE_VERSION" = "x10" ]; then npm run lint; fi
- if [ "x$TRAVIS_NODE_VERSION" = "x10" ]; then npm run lint-markdown; fi
- if [ "x$TRAVIS_NODE_VERSION" = "x10" ]; then npm run test-headless -- --allow-chrome-as-root; fi
- if [ "x$TRAVIS_NODE_VERSION" = "x10" ]; then npm run test-webworker -- --allow-chrome-as-root; fi
- if [ "x$TRAVIS_NODE_VERSION" = "x10" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then npm run test-cloud; fi

script:
- npm run test-node

after_success:
- if [ "x$TRAVIS_NODE_VERSION" = "x8" ]; then npm run test-coverage && cat ./coverage/lcov.info | coveralls lib; fi
- if [ "x$TRAVIS_NODE_VERSION" = "x10" ]; then npm run test-coverage && cat ./coverage/lcov.info | coveralls lib; fi

git:
depth: 10
2 changes: 1 addition & 1 deletion build.js
Expand Up @@ -29,7 +29,7 @@ function makeBundle(name, config) {
}

var script = preamble + buffer.toString();
fs.writeFile("pkg/" + name + ".js", script);
fs.writeFileSync("pkg/" + name + ".js", script);
});
}

Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v5.0.1.md
Expand Up @@ -38,7 +38,7 @@ Sinon `{{page.release_id}}` is written as [ES5.1][ES5] and requires no transpile
* Internet Explorer 11
* Edge 14
* Safari 9
* Node 4
* [Node.js LTS versions](https://github.com/nodejs/Release)

There should not be any issues with using Sinon `{{page.release_id}}` in newer versions of the same runtimes.

Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v5.0.2.md
Expand Up @@ -38,7 +38,7 @@ Sinon `{{page.release_id}}` is written as [ES5.1][ES5] and requires no transpile
* Internet Explorer 11
* Edge 14
* Safari 9
* Node 4
* [Node.js LTS versions](https://github.com/nodejs/Release)

There should not be any issues with using Sinon `{{page.release_id}}` in newer versions of the same runtimes.

Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v5.0.3.md
Expand Up @@ -38,7 +38,7 @@ Sinon `{{page.release_id}}` is written as [ES5.1][ES5] and requires no transpile
* Internet Explorer 11
* Edge 14
* Safari 9
* Node 4
* [Node.js LTS versions](https://github.com/nodejs/Release)

There should not be any issues with using Sinon `{{page.release_id}}` in newer versions of the same runtimes.

Expand Down
2 changes: 1 addition & 1 deletion docs/release-source/release.md
Expand Up @@ -38,7 +38,7 @@ Sinon `{{page.release_id}}` is written as [ES5.1][ES5] and requires no transpile
* Internet Explorer 11
* Edge 14
* Safari 9
* Node 4
* [Node.js LTS versions](https://github.com/nodejs/Release)

There should not be any issues with using Sinon `{{page.release_id}}` in newer versions of the same runtimes.

Expand Down

0 comments on commit 5503f73

Please sign in to comment.