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

Add CI build config for node stable version #1337

Merged
merged 1 commit into from Jul 28, 2017
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 8 additions & 5 deletions .travis.yml
Expand Up @@ -13,16 +13,19 @@ sudo: false

env:
matrix:
- export NODE_VERSION="6.5" TARGET_ARCH="x64"
- export NODE_VERSION="stable" TARGET_ARCH="x64"
- export NODE_VERSION="7.4" TARGET_ARCH="x64"
- export NODE_VERSION="6.5" TARGET_ARCH="x64"

matrix:
fast_finish: true
include:
- os: linux
env: export NODE_VERSION="6.5" TARGET_ARCH="ia32"
env: export NODE_VERSION="stable" TARGET_ARCH="ia32"
- os: linux
env: export NODE_VERSION="7.4" TARGET_ARCH="ia32"
- os: linux
env: export NODE_VERSION="6.5" TARGET_ARCH="ia32"

git:
depth: 1
Expand Down Expand Up @@ -63,7 +66,7 @@ before_install:
fi

install:
- npm install;
- travis_retry npm install;

# This is a random private key used purely for testing.
before_script:
Expand All @@ -78,9 +81,9 @@ before_script:

script:
if [ -z "$TRAVIS_TAG" ] && [ $TRAVIS_OS_NAME == "linux" ] && [ $NODE_VERSION == "6" ]; then
npm test && npm run cov && npm run coveralls;
travis_retry npm test && npm run cov && npm run coveralls;
else
npm test;
travis_retry npm test;
fi

after_success:
Expand Down
7 changes: 4 additions & 3 deletions appveyor.yml
Expand Up @@ -27,8 +27,9 @@ environment:
GYP_MSVS_VERSION: 2013
matrix:
# Node.js
- nodejs_version: "6"
- nodejs_version: "stable"
- nodejs_version: "7"
- nodejs_version: "6"

matrix:
fast_finish: true
Expand All @@ -39,12 +40,12 @@ install:
- ps: Start-Process c:\projects\nodegit\vendor\pageant.exe c:\projects\nodegit\vendor\private.ppk
- npm install -g npm
- cmd: npm install -g node-gyp
- npm install
- appveyor-retry call npm install

test_script:
- node --version
- npm --version
- cmd: npm test
- appveyor-retry call npm test

on_success:
- IF %APPVEYOR_REPO_TAG%==true npm install -g node-pre-gyp
Expand Down