-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
executable file
·60 lines (52 loc) · 1.3 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
58
59
60
sudo: required
language: node_js
node_js:
- stable
addons:
chrome: stable
cache:
yarn: true
directories:
- node_modules
branches:
only:
- master
- /^greenkeeper/.*$/
env:
global:
- BRANCH=$TRAVIS_BRANCH
- GITHUB_REPO_OWNER=mpgp
- GITHUB_REPO_NAME=BrowserClient
- GITLAB_REPO_OWNER=mpgp
- GITLAB_REPO_NAME=BrowserClient
- DOCKER_IMAGE_OWNER=mpgp129
- DOCKER_IMAGE_NAME=mpgpclient
before_install:
- bash scripts/bash_runner.sh scripts/ci/1_before_install.sh
install:
- bash scripts/bash_runner.sh scripts/ci/2_install.sh
before_script:
- bash scripts/bash_runner.sh scripts/ci/3_before_script.sh
script:
- bash scripts/bash_runner.sh scripts/ci/4_script.sh
deploy:
- on:
branch: "master"
provider: script
skip_cleanup: true
script:
- bash scripts/bash_runner.sh scripts/ci/5_deploy.sh
# Deploy dist folder to master(gh-pages) branch
# https://github.com/settings/tokens
- on:
branch: "master"
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: compodoc
target-branch: gh-pages
email: [email protected]
name: Linus Torvalds
after_success:
- echo Generate coverage info and deploy it to coveralls.io
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js