forked from heremaps/here-data-sdk-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
71 lines (70 loc) · 2.11 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
os: linux
dist: bionic
language: node_js
node_js:
- lts/*
cache: yarn
git:
quiet: true
env:
global:
- WORKSPACE=$TRAVIS_BUILD_DIR
addons:
apt:
packages:
- libgconf-2-4
branches:
only:
- master
matrix:
include:
- language: node_js
name: "PSV Linux Build & Test"
script: $WORKSPACE/scripts/linux/psv/travis_build_test_psv.sh && env
- language: minimal
name: "PSV Commit checker script"
script: $WORKSPACE/scripts/misc/commit_checker.sh
if: type = pull_request
deploy:
- provider: script
script: $WORKSPACE/scripts/publish-packages.sh -fetch
cleanup: false
on:
branch: master
condition: [ $TRAVIS_EVENT_TYPE = api && $allow_publish_npm = true && $allow_publish_fetch = true ]
- provider: script
script: $WORKSPACE/scripts/publish-packages.sh -api
cleanup: false
on:
branch: master
condition: [ $TRAVIS_EVENT_TYPE = api && $allow_publish_npm = true && $allow_publish_api = true ]
- provider: script
script: $WORKSPACE/scripts/publish-packages.sh -core
cleanup: false
on:
branch: master
condition: [ $TRAVIS_EVENT_TYPE = api && $allow_publish_npm = true && $allow_publish_core = true ]
- provider: script
script: $WORKSPACE/scripts/publish-packages.sh -auth
cleanup: false
on:
branch: master
condition: [ $TRAVIS_EVENT_TYPE = api && $allow_publish_npm = true && $allow_publish_auth = true ]
- provider: script
script: $WORKSPACE/scripts/publish-packages.sh -read
cleanup: false
on:
branch: master
condition: [ $TRAVIS_EVENT_TYPE = api && $allow_publish_npm = true && $allow_publish_read = true ]
- provider: script
script: $WORKSPACE/scripts/publish-packages.sh -write
cleanup: false
on:
branch: master
condition: [ $TRAVIS_EVENT_TYPE = api && $allow_publish_npm = true && $allow_publish_write = true ]
- provider: script
script: $WORKSPACE/scripts/publish-packages.sh -verify
cleanup: false
on:
branch: master
condition: [ $TRAVIS_EVENT_TYPE = api && $allow_publish_npm = true && $allow_publish_verify = true ]