-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
34 lines (33 loc) · 1.33 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
language: node_js
node_js:
- "node"
- "lts/*"
cache: npm
jobs:
include:
- stage: install
name: "Install Dependencies"
script: npm install
- stage: test
name: "Unit Tests + Coverage"
script:
- npm test
- echo "Report Coverage..."
- npm run coveralls
- stage: publish
name: "Publish to NPM"
node_js: 'node'
script: echo "Publishing to NPM..."
deploy:
provider: npm
email: [email protected]
api_key:
secure: UrwsyB+nJpAs3jGwSdtngOIE58Q+eL+MS74CiclymeHB1Rwcng42PqhMh/Prqr0xXu7Tao/vJmfRfHDGTFU3PGmbu/qt08DmLzKRbwedRtJLE9mUStLZ3fP3yHpAnZsmthsY1Q/cNl6142wzYEDlIw780ywtzoXdLqKOQgMZyaqqCdziX7qGwUBUC2pazFXiPJ69CEd66YeX7X7dBhXhFgpgVinlEzjBCo+dWMzAB9HyZBljAtk5TKkvtDhYUQ+Z5rWqnH1M+VrxsIPhgQuxl0ff5i7I6MNb+4Ejx5z1voEvFGBAIhhT0MYe/PqT/wgnpNhJ8VEV1dW59dXeiZBwxqfka1jVFy9h+cvuCJwT1lMOjqmdk/RRsuxKBP9YWi8UrAUpIrHBH0/VoOKTO4SyeOXZTbcVgD5MDkx+sT6bBrzA0aw5zKwaj82KUMbD0jL6x23HFwl65WgMRhXLTKdZfU0hTiMq2zeGTfwYtMeHdFiAdlXRXqfQYB8cSB/kQypf5dBRb6kSdr0Q11pos25atlacSkNdXdhNQNZuF4P/uaPts2uOI2xukRC75/MaZVqgKXZD8WzbK+KvCG8dcFwn3o125ogaafvHQ2/YiKb/AH0JjM0Ih35i7sLwjW5zMTl993CedRbOFH/kfo6Za3J49rzQJ8mfVNJEP+/PlX8/ngA=
on:
branch: master
tags: true
condition: -z $SKIP_PUBLISH
stages:
- install
- test
- publish