-
Notifications
You must be signed in to change notification settings - Fork 28
/
.travis.yml
46 lines (46 loc) · 945 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
# sudo: required
git:
depth: 1
os:
- osx
language: node_js
node_js:
- 6.7.0
# python:
# - "2.7"
before_install:
# pip already installed
# - curl -s https://bootstrap.pypa.io/get-pip.py | python
# - pip install -U oss2
# - python -V
# - pip -V
install:
- npm install
- cd script && npm install && cd ..
- sh travis_before_script.sh
# - sh travis_install_code_sign.sh
# script: script/build --code-sign --compress-artifacts --deploy
script: script/build
cache:
directories:
- electron
- node_modules
- apm/node_modules
- script/node_modules
- attach-package
- ~/.thera/compile-cache
# notifications:
# email:
# recipients:
# on_failure: always
# deploy to github on tags
# deploy:
# provider: releases
# api_key: "GITHUB OAUTH TOKEN"
# file: "FILE TO UPLOAD"
# skip_cleanup: true
# on:
# tags: true