-
-
Notifications
You must be signed in to change notification settings - Fork 70
/
Copy path.travis.yml
37 lines (37 loc) · 1.49 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
language: node_js
node_js:
- "13"
install:
- yarn install
- yarn global add codecov
jobs:
include:
- stage: Unit Tests
script: yarn test:unit --coverage && codecov
- stage: Lint
script: yarn lint
- stage: Deploy GitHub Pages
before_install: cd docs
install: yarn install
script: yarn build
deploy:
on:
branch: master
provider: pages
skip-cleanup: true
local_dir: docs/.vuepress/dist
github-token: $GITHUB_TOKEN
repo: dm4t2/vue-currency-input
- stage: Publish npm package
script: yarn build
deploy:
edge: true
on:
branch: master
tags: true
provider: npm
tag: next
skip_cleanup: true
email: [email protected]
api_key:
secure: MmWLoUUEtzy6p0zarAZmvpUOcBBFVz9CLqL5HJ+l/rQUCj3aCi6MWKA82OvKgmRh+SEAKr3vDFJVKYwGD+mHHylJe7XwNYCAM3Pxru+RIi2qjbdIU85U07iNsZxsoeSm19aVmu1aQUPMnVqwX5P0oonFi1AQi2ulj7Vt5f9T9owb+xVpNpHrMxAMc4qUZmnvLuEepyM2kPAYYHFA8KYkVcUkQxB8wn3yVUyKShWJkcTDoaS6GXzY3wAd29HEAtNMpsN7xbwCkrv7348qv3+tgV6LvPWYQTD/c/dnHcyR4omlj33cn/nVYHwEkfJOdtuFEjTAHkwaXeFOb7kl4UnXE+u+DjhH5n3Cguy/IIaREdDjW2OtJAe6gTK1nAo+u8yk+r7RxDqAfc/Y1bzBKnsNbVfK6R9lR3ufNqetDbL+lVZLP7WuCI5MwT0l/sl3G83JKIqfe54LI9E9VD2TY31HV18YHKlxDCy8rKxzke49sLhqxBRdkwOZGTmaFcGdtUMXVN/aL1EFjaO8w3hoy9b1h8FVKlW2f4gJ2uloPuXXgraSsZ2HboA3jHEWxjD0A3dNxmqNBIHIpmbmSaDvoj/ibPMrbh1FiJUxkYneGy1XLaXeSxVHs9tQkVxxZqHsEPyEich7vVdd/Bnh9pbJ//WIFKjZViQgh43aSHNY04d7cls=