forked from sakuli/sakuli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
78 lines (65 loc) · 2.21 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
cache: npm
os:
- osx
- linux
osx_image:
- xcode11
dist: bionic
language: node_js
node_js:
- lts/dubnium
- lts/erbium
- 12.13.0
addons:
sonarcloud:
organization: "sakuli"
token:
secure: "kyPFHtVbo9gHNp7fy2B3d2I6g4/+v4h1/rjLm3LnLx1XECI13F/htxLI6tWOQGNnWeC3MRAMsrd2BJ2/ovJY0qz3EtfMBuFByEbwPiLobB+YJqaTTTnXcNsPVN+AibkbGk9jQEiO/2TIebo+29XtBH6EQLdsew1qNxGAXPCHyCFtrJT1x9jj+RO8RFxTP3PMFKzZaXAGd7Twl4AcWPTd6EYUCnV+2rq/mkIqmZwH0ckYIiVnIKm5g69P3i+LLabUl/tdftXU4+J+BHaHxwb7X+D0k9NsTXPWn19grmC8FdubO7GNX5zf+gvHX0d40oZGGYYe/55CSJKS0Coerj9Wmd380ZGzZZwnZl9pfyh6BITOWJlOUw8WoILX2w8k0jiZVF2puQ/h82+m9jfnPuk9v6cnIsJmO/2cSDz3T0ZznbhA4W/yGdsEfK0SKVn3VjyV6Gbd2R7YvZC3hag5UgRz2L8odIXn7y3U9KXQhpquxX/HLkVOKd2w/PXCcOX1BsMUcgjQiP2VfZuZKkGvkFg+E/iLovoSwlG0FYRu2Qmu5C74saz1K4H5IyVe3WzZZzWoLWSWwdWN0ZEXmpFI5Lxyy/3H6x4b+mkVld7j1ProuxQdf1TjFoYd0OWYcxVcedG6FdaNDmGc3FMtmVuSjeBYcpbMyU7d7l7xdigeNTK86J8="
chrome: stable
services:
- docker
- xvfb
before_install:
- "bash ./.build/setup_${TRAVIS_OS_NAME}.sh"
install: true
script:
- "bash ./.build/run_${TRAVIS_OS_NAME}.sh"
stages:
- test
- name: deploy
if: (branch = develop) OR (tag IS present)
jobs:
allow_failures:
- node_js: lts/erbium
os: osx
include:
- stage: deploy
os: linux
dist: bionic
language: node_js
node_js: lts/erbium
before_install:
- "bash ./.build/setup_${TRAVIS_OS_NAME}.sh"
install: true
script: true
before_deploy:
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
deploy:
- provider: script
skip_cleanup: false
script: FIREFOX_WD_URL=http://localhost:4444/wd/hub CHROME_WD_URL=http://localhost:4445/wd/hub npm run lerna:publish-next
on:
branch: develop
- provider: script
skip_cleanup: false
script: FIREFOX_WD_URL=http://localhost:4444/wd/hub CHROME_WD_URL=http://localhost:4445/wd/hub npm run lerna:publish
on:
tags: true
- provider: pages
repo: sakuli/apidoc
local_dir: ./docs
skip_cleanup: true
github_token: $GITHUB_TOKEN
keep_history: true
on:
branch: master