forked from cedricpinson/osgjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (30 loc) · 1.16 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
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "kEKxAxixWjqtwAgPfKQzABJ6wpnk+52l1gRMCp6H5OFbuQws+MrKAS4YO2CgGdfjufioQFIlExfoCbK4GD6CXp11HAO9p8YGgcJxT1cQ5TRXHbZhz96EayrXoKdUq4s+UCaZUbBQsSuMdpPFZojrk8TKj/mzv6B+dbFz4RJrG8o="
language: node_js
sudo: false
node_js:
- "7.5.0"
addons:
coverity_scan:
project:
name: "cedricpinson/osgjs"
description: "Build submitted via Travis CI"
notification_email: trigrou@trigrou.com
build_command: "--no-command --fs-capture-search ./sources/"
branch_pattern: coverity_scan
install:
- npm install
- npm install -g npm@latest
- npm install -g grunt
- npm install -g grunt-cli
script: if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then grunt check --verbose && grunt build --verbose && grunt test --verbose ; fi
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/3ccc58feb42775e3c408
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false