-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (47 loc) · 1.01 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
43
44
45
46
47
language: node_js
node_js:
- "6"
cache:
directories:
- "node_modules"
env:
- REPO_NAME=boxes-scroll
branches:
only:
- master
before_script:
- git config user.email "$GITHUB_MAIL"
- git config user.name "$GITHUB_USER"
script:
- git checkout master
- webpack
deploy:
- provider: script
script: npm version patch -m "[ci skip] Release from CI"
skip_cleanup: true
on:
branch: master
- provider: script
script: git push https://$GITHUB_TOKEN:x-oauth-basic@github.com/$TRAVIS_REPO_SLUG.git master
skip_cleanup: true
on:
branch: master
- provider: releases
user: "$GITHUB_USER"
api_key: "$GITHUB_TOKEN"
file_glob: true
file: dist/*
skip_cleanup: true
on:
branch: master
- provider: npm
email: "$NPM_MAIL"
api_key: "$NPM_TOKEN"
skip_cleanup: true
on:
branch: master
- provider: script
script: bower register $REPO_NAME https://github.com/$TRAVIS_REPO_SLUG.git
skip_cleanup: true
on:
branch: register_bower