This repository has been archived by the owner on Nov 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
42 lines (35 loc) · 1.53 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
sudo: required
language: node_js
env:
global:
# NPM API KEY
- secure: "YsE2+GmRBPJgJy+OadRfjsrEXHTpSwmbV4mabkwIiOEB8QMwv0Y/wpTdnV0Nm0Oy8hiLVOLKNXAep+2+QBzCv8bmGUYcdcs/GffPJs6CupYbJ1yVQKFckCSt+rsuqlpl/cN1BMRxfdotDZmREmbV87Vgs4tR/3+2ZdEHSRL1nS6BRIgeu39Ipyi7Mf8qzULH47K9QWYdN5fve9iA+olnEGdIAXybY3zTGw2FOYi/K43wfK+H5n7D8Ex3vYTt3kwg5IKGV4jzZfb7eF2q1qsqnnuiu8/QeCgafSTUuTSZSBLEaKSMvlCyWh3vZAEVomF+puuSHFUslJW2bdVpBFbc9Kp5TSKMtVYoNYSzCJiIX7qrwjHApURg2f/0WU8Ixcydn65IM9rOM5asnX+GjMA7FXS84AQuvMAB/pVUS5tj4/KrCEZl2zhpaMkU/u353mxEPMJXPA94JGyxjFvzE0ju4un6nVhw2UgHvZY1DCg+Ov8cWdfJxWNfyXYnsqqd1McFSVK8UVtd2F30kTahT810jfU6tuh5UmvLYzsNwSBKThTdiTUQ9uUHoiFqNGY/H++Vml+w1TTLPsUahggq95V8zQqzsUa3PQ8L4lWyvRlCHG/EzfmKiOmbiLOi560MkSh8Gyz8pYiJOfhYZBfWtSZlE+wMDt2cyvf76qjSuk0MxfA="
matrix:
include:
- node_js: 6
env:
- TESTS=true
- COVERAGE=true
deploy:
provider: npm
email: "[email protected]"
api_key: "$NPM_API_KEY"
on:
tags: true
- node_js: 7
env:
- TESTS=true
- COVERAGE=false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
install:
- cd ~/build/northwesternmutual/kanali-plugin-template && npm install
script:
- if [ "$TESTS" == true ]; then cd ~/build/northwesternmutual/kanali-plugin-template && npm test; fi
- if [ "$TESTS" == true ]; then cd ~/build/northwesternmutual/kanali-plugin-template && npm run coverage; fi
after_success:
- if [ "$COVERAGE" == true ]; then cd ~/build/northwesternmutual/kanali-plugin-template && npm run coveralls; fi