forked from Chevrotain/chevrotain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (38 loc) · 918 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
language: node_js
env:
global:
- CXX=g++-4.8
cache: yarn
matrix:
include:
- node_js: "10"
env: NPM_TASK=ci_full_build_coveralls DEPLOY=true
- node_js: "8"
env: NPM_TASK=ci_full_build
- node_js: "6"
env: NPM_TASK=ci_full_build REMOVE_VUEPRESS=true
- node_js: "10"
env: NPM_TASK=ci_browser_tests
addons:
chrome: stable
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
install:
# vuepress requires node.js > 8, remove under node.js 6
- if [ $REMOVE_VUEPRESS == "true" ]; then yarn remove vuepress; fi
- yarn
script:
- yarn run $NPM_TASK
deploy:
- provider: script
script: bash scripts/deploy.sh
on:
tags: true
all_branches: true
condition: $DEPLOY = true
skip_cleanup: true
notifications:
email: false