-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
52 lines (42 loc) · 916 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: '12'
addons:
chrome: stable # Install chrome stable on operating systems
apt:
packages:
- xvfb
cache:
npm: true
directories:
- node_modules
- $HOME/.cache/electron
- $HOME/.cache/electron-builder
- $HOME/.npm/_prebuilds
# A list of operating systems which are used for tests
matrix:
include:
- os: windows
- os: osx
osx_image: xcode11.6
- os: linux
dist: xenial
services:
- xvfb
env:
global:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
# addons:
# chrome: stable
# start your web application and listen on `localhost`
before_install:
- export DISPLAY=:99.0
install:
- npm i
# - npm i -g uglify-es
script:
# - xvfb-run -a npm test
# - uglifyjs ./love2d/index.js -c -m -o ./love2d/index.js
- npm run release
notifications:
email: false