Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
Test arm prebuilds (forgot NPM_CONFIG_IGNORE_SCRIPTS)
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Nov 17, 2019
1 parent fe19ed2 commit f3b58aa
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@ language: node_js

jobs:
include:
- os: linux
node_js: 8
env: [TEST=1]
- os: linux
node_js: 10
env: [TEST=1]
- os: linux
node_js: node
env: [TEST=1, TEST_ELECTRON=1, BUILD_GROUP=linux-x64]
addons:
apt:
packages:
- xvfb
before_script:
- export DISPLAY=':99.0'
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- os: osx
node_js: 8
env: [TEST=1]
- os: osx
node_js: 10
env: [TEST=1]
- os: osx
node_js: node
env: [TEST=1, TEST_ELECTRON=1, BUILD_GROUP=darwin-x64]
# - os: linux
# node_js: 8
# env: [TEST=1]
# - os: linux
# node_js: 10
# env: [TEST=1]
# - os: linux
# node_js: node
# env: [TEST=1, TEST_ELECTRON=1, BUILD_GROUP=linux-x64]
# addons:
# apt:
# packages:
# - xvfb
# before_script:
# - export DISPLAY=':99.0'
# - Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
# - os: osx
# node_js: 8
# env: [TEST=1]
# - os: osx
# node_js: 10
# env: [TEST=1]
# - os: osx
# node_js: node
# env: [TEST=1, TEST_ELECTRON=1, BUILD_GROUP=darwin-x64]
- name: arm
os: linux
node_js: node
Expand All @@ -37,7 +37,7 @@ script:
- if [[ ! -z "$TEST" ]]; then npm run test; fi
- if [[ ! -z "$TEST_ELECTRON" ]]; then npm run test-electron; fi
# Temporary to test prebuilds
- if [[ ! -z "$BUILD_GROUP" ]]; then npm run prebuild-$BUILD_GROUP; fi
- if [[ ! -z "$BUILD_GROUP" ]]; then NPM_CONFIG_IGNORE_SCRIPTS= npm run prebuild-$BUILD_GROUP; fi
- if [[ ! -z "$BUILD_GROUP" ]]; then file prebuilds/*/*; fi

after_success:
Expand Down

0 comments on commit f3b58aa

Please sign in to comment.