forked from electron-userland/electron-builder
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
43 lines (34 loc) · 941 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
osx_image: xcode13
language: node_js
env:
global:
- FORCE_COLOR=1
matrix:
include:
- os: osx
env: TEST_FILES=masTest,dmgTest
node_js: "14"
- os: osx
env: TEST_FILES=BuildTest,extraMetadataTest,globTest,filesTest,ignoreTest,linux,windows,protonTest,PublishManagerTest,HoistedNodeModuleTest
node_js: "14"
- os: osx
env: TEST_FILES=CodeSignTest,macArchiveTest,macIconTest,macPackagerTest,winPackagerTest
node_js: "14"
before_install:
- curl -L https://unpkg.com/@pnpm/self-installer | node
- pnpm config set store-dir ~/.pnpm-store
cache:
npm: false
directories:
- "~/.pnpm-store"
- $HOME/Library/Caches/electron
- $HOME/Library/Caches/electron-builder
- /tmp/jest-electron-builder-tests
install:
- pnpm install --frozen-lockfile
script:
- pnpm compile
- node ./test/out/helpers/runTests.js
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"