forked from notpushkin/Mailspring-Libre
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (56 loc) · 1.09 KB
/
.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
53
54
55
56
57
58
59
60
61
62
git:
submodules: false
depth: false
language: node_js
node_js:
- "11"
addons:
apt:
packages:
- build-essential
- clang
- libx11-dev
- libxkbfile-dev
- execstack
- fakeroot
- g++-4.8
- git
- libgnome-keyring-dev
- libgconf-2-4
- libsecret-1-dev
- xvfb
- rpm
- libxext-dev
- libxtst-dev
- libxkbfile-dev
- curl
jobs:
include:
- os: linux
name: Linux Build
env: CC=gcc-4.8 CXX=g++-4.8
dist: trusty
script:
- npm run lint
- npm run postinstall
- DEBUG=electron-packager,electron-osx-sign npm run build
- os: osx
name: macOS Build
osx_image: xcode10.1
env: CC=clang CXX=clang++ SIGN_BUILD=true
script:
- npm run lint
- npm run postinstall
- DEBUG=electron-packager,electron-osx-sign npm run build
cache:
directories:
- node_modules
- app/node_modules
deploy:
skip_cleanup: true
provider: script
on:
all_branches: true
script:
- language: bash
- bash scripts/deploy.sh