forked from amilajack/popcorn-time-desktop
-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
59 lines (48 loc) · 1.01 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
dist: trusty
sudo: false
language: node_js
node_js: "8"
os:
- linux
- osx
cache:
directories:
- node_modules
- app/node_modules
- $HOME/.cache/electron
- $HOME/.cache/electron-builder
- $HOME/.npm/_prebuilds
env:
global:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
branches:
only:
- master
- develop
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- icnsutils
- graphicsmagick
- xz-utils
- xorriso
- libsecret-1-0
before_install:
- npm i -g greenkeeper-lockfile@1
install:
- npm i
- cd app && npm i && cd ..
# - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
before_script:
- greenkeeper-lockfile-update
script:
- npm run lint:check
# - npm run test
- npm run package:ci
# - npm run test-e2e
after_script:
- greenkeeper-lockfile-upload