forked from patw0929/libphonenumber-js-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
27 lines (27 loc) · 777 Bytes
/
.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
language: java
jdk: openjdk8
cache:
directories:
- closure-library
- closure-compiler
- closure-linter
- python-gflags
notifications:
email: false
before_install:
- nvm install 11.10.1
install:
- npm ci
- bash ./scripts/build-dependencies.sh
script:
- bash ./scripts/execute.sh
- npm test
before_deploy: echo "$(tput bold)$(tput setaf 6)Starting NPM release for version - `cat package.json | python -c "import sys, json; print(json.load(sys.stdin)['version'])"`"
deploy:
provider: npm
email: $NPM_EMAIL
api_key: $NPM_TOKEN
skip_cleanup: true
on:
tags: true
after_deploy: echo "$(tput bold)$(tput setaf 6)Completed Deployment of NPM version - `cat package.json | python -c "import sys, json; print(json.load(sys.stdin)['version'])"`"