forked from HR/Crypter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (46 loc) · 878 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
53
54
55
56
osx_image: xcode7.3
sudo: required
dist: trusty
language: c
git:
depth: 3
branches:
only:
- master
- dev
matrix:
include:
- os: linux
env: CC=clang CXX=clang++ npm_config_clang=1
compiler: clang
- os: osx
before_script:
- chmod +x ./app/script/travis-build.sh
- chmod +x ./app/script/build_ml.sh
- export NODE_VERSION=6.3.0
- export TEST_RUN=true
script: ./app/script/travis-build.sh
after_success:
- node_modules/.bin/gulp coverage
- npm run coveralls
- npm run codeclimate
- ./app/script/build_ml.sh
cache:
apt: true
directories:
- node_modules
- app/node_modules
- $HOME/.electron
- $HOME/.cache
notifications:
email:
on_success: never
on_failure: change
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libgnome-keyring-dev
- icnsutils
- xvfb