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

Commit b8b9e7f

Browse files
committed
Temporarily test arm and alpine prebuilding
1 parent 6190f7f commit b8b9e7f

1 file changed

Lines changed: 1 addition & 45 deletions

File tree

.travis.yml

Lines changed: 1 addition & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -2,61 +2,17 @@ language: node_js
22

33
jobs:
44
include:
5-
- os: linux
6-
node_js: 8
7-
env: [TEST=1]
8-
- os: linux
9-
node_js: 10
10-
env: [TEST=1]
11-
- os: linux
12-
node_js: node
13-
env: [TEST=1, TEST_ELECTRON=1, BUILD_CMD=prebuild, BUILD_GROUP=linux-x64]
14-
addons:
15-
apt:
16-
packages:
17-
- xvfb
18-
before_script:
19-
- export DISPLAY=':99.0'
20-
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
21-
- os: osx
22-
node_js: 8
23-
env: [TEST=1]
24-
- os: osx
25-
node_js: 10
26-
env: [TEST=1]
27-
- os: osx
28-
node_js: node
29-
env: [TEST=1, TEST_ELECTRON=1, BUILD_CMD=prebuild, BUILD_GROUP=darwin-x64]
305
- name: arm
316
os: linux
327
node_js: node
338
env: [BUILD_CMD=prebuild-arm, BUILD_GROUP=arm, NPM_CONFIG_IGNORE_SCRIPTS=1]
34-
if: tag is present
359
- name: alpine
3610
os: linux
3711
node_js: node
3812
env: [BUILD_CMD=prebuild-alpine, BUILD_GROUP=alpine, NPM_CONFIG_IGNORE_SCRIPTS=1]
39-
if: tag is present
4013

4114
script:
42-
- if [[ ! -z "$TEST" ]]; then npm run test; fi
43-
- if [[ ! -z "$TEST_ELECTRON" ]]; then npm run test-electron; fi
44-
45-
after_success:
46-
- if [[ ! -z "$TEST" ]]; then npm run coverage; fi
47-
48-
before_deploy:
49-
- export ARCHIVE_NAME="${TRAVIS_TAG:-latest}-$BUILD_GROUP.tar.gz"
15+
- export ARCHIVE_NAME="test-$BUILD_GROUP.tar.gz"
5016
- npm run $BUILD_CMD
5117
- file prebuilds/*/*
5218
- tar -zcvf "$ARCHIVE_NAME" -C prebuilds .
53-
54-
deploy:
55-
provider: releases
56-
draft: false
57-
api_key: "$PREBUILD_TOKEN"
58-
file: "$ARCHIVE_NAME"
59-
skip_cleanup: true
60-
on:
61-
tags: true
62-
condition: "! -z $BUILD_CMD"

0 commit comments

Comments
 (0)