-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.travis.yml
26 lines (26 loc) · 1.88 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
language: node_js
node_js:
- node
install:
- npm install
- npm install jsonlint
script:
- npm run test
- npm run build
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH;
else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
- echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, PR=$PR, BRANCH=$BRANCH"
after_success:
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./build/push.sh; fi
deploy:
provider: npm
email: [email protected]
api_key:
secure: gW0SSZ78zjQIuLJYaxUHlsocJlHQmIuHNWyDYqhNcBcI2iPY3kpWbA+d4KIPHDoQfQm7rH4z2Bws4OUBVI67yzPn8NkLcwJkJnGKuukI3STASGukANTDtWTfdUre3zN/xJVMidjqIBGJlJG9royFKGvmpLHvWywzCAhCr4V1RBy0eT+ftm6E/UZQQD4xOrIIdiQ14ScNQAEohebmfmw/qwwON4j7MbSo0rgQCFcnnO/qXUf8+kh+7YFOhWHjnMmUSeid/K72snKVu3+tWjZ60wiZMxAZkcSVqIwWjgMMVH5SyDYHRtv+GFNgZyD4jprJhSPtUOO6wy8muuxY19VCnKzrKlqxLOp1d3MiHDwirutccdnfd5k+lMq5gqSRs+cabE22GWCfw4d3QDzqWLnb+8XLNX/WX0mEGPym53+7403/07I1HmjlP9kjyMZltViwVD5KPhXkh3xEX4vOKAVVSRyghlA555ei3cNZ890xnPyMwMdCZECSowj6UEiUeJ5u/K4WzMDolO5l/64PMMuCnMWh765TFKoFTik6xrAE9bO+FnT4nR8beum6tekAMKOjs3d0iLv4uAg8V6XmjRYJQjAeDu3b4lujcKmZCuav1W/s4GkKvj8XMz5ybUuWjSfXMff2u2pb5q/NdNV9pKtl9h9gn20Egf59poEr9w2dZDA=
on:
tags: true
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