-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
45 lines (36 loc) · 1.06 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
language: node_js
node_js:
- 14
cache: false
sudo: required
script:
- npm run lint
env:
nodejs_version: 12
npm_config_target: 8.2.0
npm_config_arch: x64
npm_config_target_arch: x64
npm_config_disturl: https://electronjs.org/headers
npm_config_runtime: electron
npm_config_build_from_source: true
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq install g++-4.8 ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-4.8 ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq install wine ; fi
# need this while [email protected] stable released
install:
- npm i
notifications:
email:
on_success: never
on_failure: change
deploy:
provider: script
script: npm run ci:dist
skip_cleanup: true
on:
node: '14'
tags: true
all_branches: false