-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (50 loc) · 1.02 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
language: node_js
sudo: false
node_js:
- 4
- 5
- 6
- 7
matrix:
allow_failures:
- node_js: 7
os:
- linux
- centos
- macosx
- windows
# NodeJS v4 requires gcc 4.8
env:
- NODE_ENV=travis CXX="g++-4.8" CC="gcc-4.8"
services:
- mongodb
# gcc 4.8 requires ubuntu-toolchain-r-test
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- gcc-4.8
- clang
before_install:
- npm i nsp -g
- npm i snyk -g
- export DISPLAY=:99.0
- bash scripts/setup-protractor.sh
- sleep 3
#before_script:
# - snyk auth $SNYK_TOKEN
# - snyk test
after_script:
- nsp check
- snyk test
- gulp test:coverage
- node_modules/.bin/lcov-result-merger 'coverage/**/lcov.info' | node_modules/coveralls/bin/coveralls.js
notifications:
webhooks:
urls:
- $GITTER_IM_URL
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always