-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
53 lines (45 loc) · 904 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
language: node_js
node_js:
- '8'
matrix:
allow_failures:
- os: osx
include:
- os: linux
env:
- TEST_TARGET=test-v-headless
- BUILD_TARGET=build-linux
- os: osx
env:
- BUILD_TARGET=build-macos
- TEST_TARGET=test-v
addons:
apt:
packages:
- xvfb
- xorriso
- icnsutils
- graphicsmagick
- xz-utils
- rpm
- bsdtar
env:
global:
- ELECTRON_ENABLE_LOGGING=1
- USE_SYSTEM_XORRISO=true
- TESTS_EXTRA_DELAY=true
- TESTS_SKIP_UNRELIABLE=true
# - BUILD_TARGET=build-linux
# - TEST_TARGET=test-v-headless
before_script:
- npm run rebuild
cache:
directories:
- node_modules
- $HOME/.cache/electron
- $HOME/.cache/electron-builder
- $HOME/Library/Caches/electron
- $HOME/Library/Caches/electron-builder
script:
- npm run $TEST_TARGET
- make $BUILD_TARGET