forked from beakerbrowser/beaker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (44 loc) · 1.47 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
notifications:
email: false
env:
- ELECTRON_CACHE=$HOME/.cache/electron
os:
- osx
# - linux
language: node_js
node_js: "8"
cache:
directories:
- node_modules
- app/node_modules
- tests/node_modules
- $HOME/.cache/electron
install:
- npm install
- npm run rebuild
- cd ./tests/
- npm install
- cd ..
before_script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
export DISPLAY=:99.0 && sh -e /etc/init.d/xvfb start && sleep 3;
fi
script:
- cd ./tests/
- npm test
- cd ..
- if [ ! -z "$TRAVIS_TAG" ]; then npm run release; fi
#deploy:
# provider: releases
# api_key:
# secure: RNbGl8IGSI4jJxdz3f7wj8c1oAQZZ8ewDkK/pjjTimxXbmRUKgeV1/GSkJOxOCmWKXRvYq1/qPYjW2nE99dpg9fd9+q+NxaIMeEOty6ZtNLXRvut46yqhsJIY8Hy2lzFbTSzJ3crUwCLPD1m4NdXPHvMzXiGO+BFYtrwiCsVcg6VDGlj7x2vkfaux16VCbuJzPqVoslTzVmFE8nwCU8zFudvGyWJttn5PqLit1OZ6NB+5T+haBN+y8zLW1q7XuULFkz5OEoaBz3l/tW54sXKeopOm7ccRSMsk4oZXjn12Vu9cErc22zX4zw6OlWHDWecNShcxOoOPmNQqoPyzGqeGqRqduwDcKYoAgPCLNgE2x9aAwfOrGJlv2YSlTzKF5c/ocQGrvdm8wUXS6XiEKRyGu9g2ljMW2I2qnBPbJjTFNCxLCmvmZVZHf182K6+CbHLdrLVi5uWRo7aypdi0t9+FmZAA0btJw27+v8qnOeaQFuU2mfwMbyTMUc3+5DlLsXR2FDY9weokptHimNtbJjgx3kxFvBSJCpIN4YpOwFJ+mlXXOf4l23I3RMaxKUSKWQE2YI3r+WJiVW9YcN9DctXzOMxjHFVSCiEtiAdAAjbmvafWdE5dm+ojA70P3HpwLVHA0pP8/KkRjXcIajfZ/l0vtOkGYufhQRSmgmY14iWn4A=
# file:
# - dist/*.AppImage
# - dist/*.dmg
# - dist/*.zip
# - dist/*.exe
# file_glob: true
# skip_cleanup: true
# on:
# repo: beakerbrowser/beaker
# tags: true