forked from Chevrotain/chevrotain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (56 loc) · 1.32 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
51
52
53
54
55
56
57
language: node_js
env:
global:
- CXX=g++-4.8
matrix:
include:
- node_js: "6"
env: GRUNT_TASK=browsers_tests
- node_js: "7"
env: GRUNT_TASK=unit_tests
- node_js: "6"
env: GRUNT_TASK=unit_tests COVERAGE=true DEPLOY=true
- node_js: "4"
env: GRUNT_TASK=unit_tests
- node_js: "7"
env: GRUNT_TASK=node_integration_tests
- node_js: "6"
env: GRUNT_TASK=node_integration_tests
- node_js: "4"
env: GRUNT_TASK=node_integration_tests
allow_failures:
- node_js: "6"
env: GRUNT_TASK=browsers_tests
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm install -g yarn
- npm install -g grunt-cli
install:
- yarn
before_script:
- grunt build
script:
- grunt $GRUNT_TASK
deploy:
- provider: npm
email: [email protected]
api_key:
secure: k7juzhofg3lWLolMOIQ6AM0xKYLaRc0MAlGO3sbm2ZFZlGdmXuayHGAD+UL1Vi+KXLfU14fwvIjCpkWc6EWezcFkTG2cxoIC+NpUygQ0z3/E1ylCYM5NU23J+bDtv9xcj5bhNQ/611kHahtIH9DNbY1BbsL0lMH6KwbLDXYUlzk=
on:
tags: true
all_branches: true
condition: $DEPLOY = true
skip_cleanup: true
- provider: script
script: grunt coveralls:publish
on:
condition: $DEPLOY = true
branch: master
skip_cleanup: true
notifications:
email: false