-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
54 lines (53 loc) · 1.65 KB
/
Copy path.travis.yml
File metadata and controls
54 lines (53 loc) · 1.65 KB
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
43
44
45
46
47
48
49
50
51
52
53
language: node_js
version: 1.0
node_js:
- 10
services:
- docker
stages:
- install
- lint
- build
- test
- publish
- visual-regression-tests
- npm release
branches:
only:
- master
cache:
directories:
- node_modules/
- dist/
jobs:
include:
- stage: install
script: npm install
artifacts:
paths:
- node_modules/
- stage: lint
script: npm run lint
- stage: build
script: npm run build
artifacts:
paths:
- dist/
- stage: test
script: npm run test
- stage: publish
script:
- npm run deploy -- --token=$NOW_TOKEN
- stage: visual-regression-tests
script: npm run backstop:test
- stage: npm release
script: echo "Deploying to npm ..."
deploy:
edge: true
provider: npm
email: "nozimdev@gmail.com"
api_key: "$NPM_API_KEY"
# secure: NfQGUW8x2MhRAlYtnB06DZYt6HGMIcSSzAT6wa3vvJlHB6zzUfu/jzYiOm3P8DrZiXVym514juApPDCn0mh9A+61gp9X8vlkLMqc9UamVxFNi9ZF8eDHRkbQP5MaKDbT2kZJoiZiXukbJF4y1SzuP2F8PPEMtc65LC9m8VL8jGsmh0jhQJP2zWLoxQF2WReTgsFkcMlq4cPLtmYkdA9ed2FIkth7CncrAArAy0wjcsxTH8qRjSn2N4tZNxLMzIFg1xoxoSyjgzZ/1Q46wjlRXQY5zQPrEor4HEA0bMZSPQaJw+eRCfqvrosXibeMb9+pVlTvnk9t7O0B2EG9X4HwjPTXWSPjj968Y/+nCCss8JCBYAb2ENyxHn4M+mIPQrfCyg20qjMM/XqV5C683fBxhiKaaKg9EhoIAHDrLWiBSDjXHMZ0+GcfPdjWoEAT8C3nsnuv4c8N1P3zW5taZGwP2O/nRZ6Bk6Bsw3R5IzksBBeoVzBBiE8sQ3/csvmHmvU2AjhO9ffrQOvRvHfkp2jbX+TypcjxHU2m8GeADzyq8wEZ1Ax5y3hArgulFGRUnM48LtHh7yyTWBXi13aENdVa8yajmWPzUzRExsaZyx4X/jX5oB3GwQwvq6h2Twtj93mNuE/ij+PGyGvXRb8etjhPjK5QHPXcGTbRVOCD5J08Kt0=
skip_cleanup: true
on:
repo: nozimy/number_verify