forked from comunica/comunica
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
53 lines (53 loc) · 1.01 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
sudo: required
services:
- docker
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
language: node_js
node_js:
- "8"
- "9"
- "10"
- "node"
before_install: yarn global add greenkeeper-lockfile@1
install: CC=gcc-4.9 CXX=g++-4.9 yarn install --pure-lockfile
before_script: greenkeeper-lockfile-update
after_script: greenkeeper-lockfile-upload
script:
- yarn run lint
- yarn run test-ci
- lerna run browser
after_success:
- yarn run coveralls-ci
- yarn global add typedoc && yarn run doc
cache:
yarn: true
directories:
- node_modules
deploy:
provider: pages
skip-cleanup: true
github-token: $GH_TOKEN
keep-history: true
local-dir: documentation
on:
branch: master
node_js: "node"
deploy:
provider: script
skip-cleanup: true
script: ./.travis/docker.sh && ./.travis/docker.sh push
on:
tags: true
branch: master
node_js: "node"
deploy:
provider: script
skip-cleanup: true
script: ./.travis/deploy_browser.sh
on:
node_js: "node"