-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (32 loc) · 780 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
os:
- osx
osx_image: xcode8.1
language: node_js
node_js:
- '7'
before_install:
- npm config delete prefix
install:
- rm -rf node_modules
- npm i -g npm@3
- npm install
branches:
except:
- website
script:
- export DEBUG=electron*
- npm run test
- if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then ./sig/import.sh && npm run make:darwin && node ./sig/publish-mac.js; fi
- if [[ $TRAVIS_PULL_REQUEST != "false" ]]; then npm run package:darwin; fi
- npm run test-electron-coverage
- npm run _coveralls
- npm run _coverage_publish
# Disabel Spectron for now
# - npm run test-spectron
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/92deafd1eb3a9871497b
on_success: always
on_failure: always
on_start: never