forked from Leanplum/Leanplum-ReactNative-SDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (31 loc) · 1.27 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
language: node_js
node_js:
- "12.16"
script:
- ./Tools/setLPAndroidVersion.sh
- ./Tools/setLPiOSVersion.sh
- npm install
- npm test
- npm run build
after_success:
- ./Tools/createTag.sh
before_deploy: |
function npm_dist_tag() {
if [[ "$TRAVIS_TAG" = *"beta"* ]]; then
echo "beta"
else
echo "latest"
fi
}
deploy:
skip_cleanup: true
provider: npm
tag: $(npm_dist_tag)
email: [email protected]
api_key:
secure: P8igyJR1y+zBOzpHKx7x069GIFw/KklkeWjrDVmmzRnz0iRDrtSduyZD4U784OrrKAiKstU4Jw92qsdXU7HZ4g8UZTkFaLWtz2Ed5GY9vMfD9saTcTJFlamg7/pM+YIqFRg6P8qMjlF/4JcOc4N/rK+jsU3Kp46utDcmyqtvjI6SKcNyaq8A214X+jNDhxd7QeuFFMveSl1FZlYxPcv9QiBjG3bMxL1oHrLZphhGiEWgX3xXxahUdXcYZKO/FSLMPsFB28qvMqISsiK6ozgIzPBWD7IWXEYH6xXWRAxT1hX3K49/z1YjKv4Bfg/lNDvKJ8XBb7yZzt2Cpz1emlP5bD17QB5/i5FNcFhWvYv9CQ7hTMdx2v4uUojhWdflVcE8dGR7cPTKdIT1ZPYWbj4bM4P6aOw9j1fCfbBsl8Ml9b8gOpspNNazxXMPeIL2QTSQPZqv+63uVdJlsVhFWBqb2nnIQQUwSlkGW+0hmetCw3UDLInun7O9azuadb21/10DXCvKZPUiWEZmRNieVIvh7lYgw/aWAb5vGmMtALY0JKE9Gv2r9nu3v3v9pfJKpgUmpyCeM+q3k8K+WRCs6DjNoEPoDpI9cm6gb38bxUm1F1v+V/x4xodA12uc+A5EkjbXpfQ93myvQgQjPgkVcg4meQd+D47IJsfYRQ5dC+TnTFc=
on:
repo: Leanplum/Leanplum-ReactNative-SDK
tags: true
after_deploy:
- ./Tools/triggerRondo.sh