forked from electron-userland/electron-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (33 loc) · 1015 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
osx_image: xcode9.1
language: node_js
matrix:
include:
- os: osx
env: TEST_FILES=BuildTest,extraMetadataTest,globTest,filesTest,ignoreTest,linux.*,windows.*
node_js: "8"
- os: osx
env: TEST_FILES=CodeSignTest,macArchiveTest,macPackagerTest
node_js: "8"
- os: osx
env: TEST_FILES=masTest,dmgTest
node_js: "8"
cache:
yarn: true
directories:
- node_modules
- $HOME/Library/Caches/electron
- $HOME/Library/Caches/electron-builder
- /tmp/jest-electron-builder-tests
install:
- |
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
mkdir -p /tmp/git-lfs && curl -L https://github.com/github/git-lfs/releases/download/v2.3.4/git-lfs-darwin-amd64-2.3.4.tar.gz | tar -xz -C /tmp/git-lfs --strip-components 1 && /tmp/git-lfs/git-lfs pull
fi
- curl -L https://yarnpkg.com/latest.tar.gz | tar xvz && mv yarn-* $HOME/.yarn
- export PATH="$HOME/.yarn/bin:$PATH"
- yarn
script:
- yarn test
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"