Skip to content

Commit

Permalink
Run CI with Node.js v8
Browse files Browse the repository at this point in the history
  • Loading branch information
cheton committed Dec 2, 2017
1 parent 232307a commit f4a2c7c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Expand Up @@ -16,6 +16,7 @@ osx_image: xcode8.3
node_js:
- '4'
- '6'
- '8'

env:
global:
Expand Down Expand Up @@ -78,7 +79,7 @@ after_success:
- COMMIT_LOG=`git log -1 --format='%ci %H %s'`
- |
# build:mac-x64
if [[ "$TRAVIS_NODE_VERSION" == "6" && "$TRAVIS_OS_NAME" == "osx" ]]; then
if [[ "$TRAVIS_NODE_VERSION" == "8" && "$TRAVIS_OS_NAME" == "osx" ]]; then
# https://github.com/electron-userland/electron-builder/issues/398
security import "scripts/certs/Certum-Code-Signing-CA-SHA2.cer" -k ~/Library/Keychains/login.keychain -T /usr/bin/codesign;
# https://github.com/electron-userland/electron-osx-sign/issues/83
Expand Down Expand Up @@ -107,7 +108,7 @@ after_success:
fi
- |
# build:linux-ia32
if [[ "$TRAVIS_NODE_VERSION" == "6" && "$TRAVIS_OS_NAME" == "linux" ]]; then
if [[ "$TRAVIS_NODE_VERSION" == "8" && "$TRAVIS_OS_NAME" == "linux" ]]; then
npm run build:linux-ia32;
ls -al output output/*;
cp -af "output/${PRODUCT_NAME}_${PRODUCT_VERSION}_i386.deb" "releases/${RELEASE}-linux-i386.deb";
Expand Down Expand Up @@ -135,7 +136,7 @@ after_success:
fi
- |
# build:linux-x64
if [[ "$TRAVIS_NODE_VERSION" == "6" && "$TRAVIS_OS_NAME" == "linux" ]]; then
if [[ "$TRAVIS_NODE_VERSION" == "8" && "$TRAVIS_OS_NAME" == "linux" ]]; then
npm run build:linux-x64;
ls -al output output/*;
cp -af "output/${PRODUCT_NAME}_${PRODUCT_VERSION}_amd64.deb" "releases/${RELEASE}-linux-amd64.deb";
Expand Down Expand Up @@ -163,7 +164,7 @@ after_success:
fi
- |
# build:linux-armv7l
if [[ "$TRAVIS_NODE_VERSION" == "6" && "$TRAVIS_OS_NAME" == "linux" ]]; then
if [[ "$TRAVIS_NODE_VERSION" == "8" && "$TRAVIS_OS_NAME" == "linux" ]]; then
npm run build:linux-armv7l;
ls -al output output/*;
cp -af "output/${PRODUCT_NAME}_${PRODUCT_VERSION}_armv7l.deb" "releases/${RELEASE}-linux-armv7.deb";
Expand Down
6 changes: 3 additions & 3 deletions appveyor.yml
Expand Up @@ -13,7 +13,7 @@ init:

environment:
matrix:
- nodejs_version: "6"
- nodejs_version: "8"
global:
GH_TOKEN:
secure: 14dS/9loZ4uMoKGOHGkagaYp5oS30HSIQcPB0FEa7aTEfpb2VJQiUms82hv8nWxY
Expand Down Expand Up @@ -66,7 +66,7 @@ build_script:
- ps: echo "$env:RELEASE"
- ps: echo "$env:COMMIT_LOG"
- ps: |
if ($env:nodejs_version -eq '6' -And $env:platform -eq 'x64') {
if ($env:nodejs_version -eq '8' -And $env:platform -eq 'x64') {
npm run build:win-x64
Get-ChildItem output
Copy-Item "output\${PRODUCT_NAME} Setup ${PRODUCT_VERSION}.exe" "releases\${env:RELEASE}-win-x64.exe"
Expand All @@ -77,7 +77,7 @@ build_script:
}
}
- ps: |
if ($env:nodejs_version -eq '6' -And $env:platform -eq 'x64') {
if ($env:nodejs_version -eq '8' -And $env:platform -eq 'x64') {
npm run build:win-ia32
Get-ChildItem output
Copy-Item "output\${PRODUCT_NAME} Setup ${PRODUCT_VERSION}.exe" "releases\${env:RELEASE}-win-ia32.exe"
Expand Down

0 comments on commit f4a2c7c

Please sign in to comment.