FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Remove Node v0.12 and v5 by johnhaley81 · Pull Request #1199 · nodegit/nodegit · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .json  (1) .yml  (2) All 2 file types selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
34 changes: 7 additions & 27 deletions .travis.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,14 @@ sudo: false

env:
matrix:
- export NODE_VERSION="0.12" TARGET_ARCH="x64"
- export NODE_VERSION="4.5" TARGET_ARCH="x64"
- export NODE_VERSION="5.12" TARGET_ARCH="x64"
- export NODE_VERSION="4" TARGET_ARCH="x64"
- export NODE_VERSION="6.5" TARGET_ARCH="x64"

matrix:
fast_finish: true
include:
- os: linux
env: export NODE_VERSION="0.12" TARGET_ARCH="ia32"
sudo: required
- os: linux
env: export NODE_VERSION="4.5" TARGET_ARCH="ia32"
sudo: required
- os: linux
env: export NODE_VERSION="5.12" TARGET_ARCH="ia32"
env: export NODE_VERSION="4" TARGET_ARCH="ia32"
sudo: required
- os: linux
env: export NODE_VERSION="6.5" TARGET_ARCH="ia32"
Expand All @@ -52,6 +44,7 @@ before_install:
- export CC=clang
- export CXX=clang++
- export npm_config_clang=1
- export JOBS=4

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

- nvm install $NODE_VERSION

- if [ -z "$TRAVIS_TAG" ] && [ $TRAVIS_OS_NAME == "linux" ] && [ $NODE_VERSION == "0.12" ]; then
- if [ -z "$TRAVIS_TAG" ] && [ $TRAVIS_OS_NAME == "linux" ] && [ $NODE_VERSION == "6" ]; then
export GYP_DEFINES="coverage=1 use_obsolete_asm=true";
export JOBS=4;
export CC=/usr/bin/gcc-4.9;
export CXX=/usr/bin/g++-4.9;
export npm_config_clang=0;
wget http://downloads.sourceforge.net/ltp/lcov-1.10.tar.gz;
tar xvfz lcov-1.10.tar.gz;
else
export GYP_DEFINES="use_obsolete_asm=true";
export JOBS=4;
fi

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

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

script:
- if [ $TARGET_ARCH == "x64" ]; then
if [ -z "$TRAVIS_TAG" ] && [ $TRAVIS_OS_NAME == "linux" ] && [ $NODE_VERSION == "0.12" ]; then
if [ -z "$TRAVIS_TAG" ] && [ $TRAVIS_OS_NAME == "linux" ] && [ $NODE_VERSION == "6" ]; then
npm test && npm run cov && npm run coveralls;
else
npm test;
Expand All @@ -122,7 +102,7 @@ after_success:
node-pre-gyp publish --target_arch=$TARGET_ARCH;
fi

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

Expand Down
6 changes: 2 additions & 4 deletions appveyor.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ environment:
GYP_MSVS_VERSION: 2013
matrix:
# Node.js
- nodejs_version: "0.12"
- nodejs_version: "4.5"
- nodejs_version: "5.12"
- nodejs_version: "6.5"
- nodejs_version: "4"
- nodejs_version: "6"

matrix:
fast_finish: true
Expand Down
2 changes: 1 addition & 1 deletion package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"lib": "./lib"
},
"engines": {
"node": ">= 0.12"
"node": ">= 4"
},
"dependencies": {
"fs-extra": "~0.26.2",
Expand Down

Back | FazBrowse Home | New Git URL