Skip to content

Commit 1269fd7

Browse files
author
John Haley
committed
Remove Node v0.12 and v5
v0.12 is breaking the deploy process now and v5 should be removed in favor of v7 which will come in a later commit.
1 parent 5769070 commit 1269fd7

3 files changed

Lines changed: 10 additions & 32 deletions

File tree

‎.travis.yml‎

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,14 @@ sudo: false
1313

1414
env:
1515
matrix:
16-
- export NODE_VERSION="0.12" TARGET_ARCH="x64"
17-
- export NODE_VERSION="4.5" TARGET_ARCH="x64"
18-
- export NODE_VERSION="5.12" TARGET_ARCH="x64"
16+
- export NODE_VERSION="4" TARGET_ARCH="x64"
1917
- export NODE_VERSION="6.5" TARGET_ARCH="x64"
2018

2119
matrix:
2220
fast_finish: true
2321
include:
2422
- os: linux
25-
env: export NODE_VERSION="0.12" TARGET_ARCH="ia32"
26-
sudo: required
27-
- os: linux
28-
env: export NODE_VERSION="4.5" TARGET_ARCH="ia32"
29-
sudo: required
30-
- os: linux
31-
env: export NODE_VERSION="5.12" TARGET_ARCH="ia32"
23+
env: export NODE_VERSION="4" TARGET_ARCH="ia32"
3224
sudo: required
3325
- os: linux
3426
env: export NODE_VERSION="6.5" TARGET_ARCH="ia32"
@@ -52,6 +44,7 @@ before_install:
5244
- export CC=clang
5345
- export CXX=clang++
5446
- export npm_config_clang=1
47+
- export JOBS=4
5548

5649
- if [ $TARGET_ARCH == "ia32" ]; then
5750
sudo ln -s /usr/include/asm-generic /usr/include/asm;
@@ -64,32 +57,19 @@ before_install:
6457

6558
- nvm install $NODE_VERSION
6659

67-
- if [ -z "$TRAVIS_TAG" ] && [ $TRAVIS_OS_NAME == "linux" ] && [ $NODE_VERSION == "0.12" ]; then
60+
- if [ -z "$TRAVIS_TAG" ] && [ $TRAVIS_OS_NAME == "linux" ] && [ $NODE_VERSION == "6" ]; then
6861
export GYP_DEFINES="coverage=1 use_obsolete_asm=true";
69-
export JOBS=4;
7062
export CC=/usr/bin/gcc-4.9;
7163
export CXX=/usr/bin/g++-4.9;
7264
export npm_config_clang=0;
7365
wget http://downloads.sourceforge.net/ltp/lcov-1.10.tar.gz;
7466
tar xvfz lcov-1.10.tar.gz;
7567
else
7668
export GYP_DEFINES="use_obsolete_asm=true";
77-
export JOBS=4;
7869
fi
7970

80-
# node 0.12 is sometimes failing
81-
# with a "Callback called more than once" error
82-
# Despite that error, it seems like modules do get installed correctly,
83-
# and the rest of the build proceeds as normal.
84-
# So we ignore that error, just for node 0.12
85-
# If npm install ever fails in a more significant way,
86-
# the rest of the build should hopefully fail anyway.
8771
install:
88-
- if [[ $NODE_VERSION == "0.12" ]]; then
89-
npm install || true;
90-
else
91-
npm install;
92-
fi
72+
- npm install;
9373

9474
# This is a random private key used purely for testing.
9575
before_script:
@@ -104,7 +84,7 @@ before_script:
10484

10585
script:
10686
- if [ $TARGET_ARCH == "x64" ]; then
107-
if [ -z "$TRAVIS_TAG" ] && [ $TRAVIS_OS_NAME == "linux" ] && [ $NODE_VERSION == "0.12" ]; then
87+
if [ -z "$TRAVIS_TAG" ] && [ $TRAVIS_OS_NAME == "linux" ] && [ $NODE_VERSION == "6" ]; then
10888
npm test && npm run cov && npm run coveralls;
10989
else
11090
npm test;
@@ -122,7 +102,7 @@ after_success:
122102
node-pre-gyp publish --target_arch=$TARGET_ARCH;
123103
fi
124104

125-
- if [ $TRAVIS_BRANCH == "master" ] && [ $TRAVIS_PULL_REQUEST == "false" ] && [ $TRAVIS_OS_NAME == "linux" ] && [ $NODE_VERSION == "4.1" ] && [ $TARGET_ARCH == "x64" ]; then
105+
- if [ $TRAVIS_BRANCH == "master" ] && [ $TRAVIS_PULL_REQUEST == "false" ] && [ $TRAVIS_OS_NAME == "linux" ] && [ $NODE_VERSION == "6" ] && [ $TARGET_ARCH == "x64" ]; then
126106
.travis/deploy-docs.sh;
127107
fi
128108

‎appveyor.yml‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@ environment:
2727
GYP_MSVS_VERSION: 2013
2828
matrix:
2929
# Node.js
30-
- nodejs_version: "0.12"
31-
- nodejs_version: "4.5"
32-
- nodejs_version: "5.12"
33-
- nodejs_version: "6.5"
30+
- nodejs_version: "4"
31+
- nodejs_version: "6"
3432

3533
matrix:
3634
fast_finish: true

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"lib": "./lib"
3232
},
3333
"engines": {
34-
"node": ">= 0.12"
34+
"node": ">= 4"
3535
},
3636
"dependencies": {
3737
"fs-extra": "~0.26.2",

0 commit comments

Comments
 (0)