forked from vuetifyjs/vuetify
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
37 lines (33 loc) · 789 Bytes
/
.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:
- "8"
script:
- yarn
- yarn run lint
- yarn run test
- yarn run build
cache:
yarn: true
before_deploy:
- rm -rf release
- mkdir -p release
- for file in ./dist/*; do cp "$file" "${file/dist\/vuetify/release\/vuetify-${TRAVIS_TAG}}"; done
deploy:
- provider: npm
email: "john.j.leider@gmail.com"
api_key: $NPM_API_KEY
tag: $(node ./build/parse-npm-tag.js)
skip_cleanup: true
on:
repo: vuetifyjs/vuetify
tags: true
- provider: releases
api_key: $GITHUB_API_KEY
files:
- "release/vuetify-${TRAVIS_TAG}.css"
- "release/vuetify-${TRAVIS_TAG}.js"
- "release/vuetify-${TRAVIS_TAG}.min.css"
- "release/vuetify-${TRAVIS_TAG}.min.js"
skip_cleanup: true
on:
tags: true