Skip to content

Commit 0fab8f2

Browse files
committed
build(travis): add travis yaml
1 parent ab0ec0c commit 0fab8f2

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.travis.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
language: node_js
2+
cache:
3+
directories:
4+
- ~/.npm
5+
notifications:
6+
email: true
7+
node_js:
8+
- '8'
9+
before_install:
10+
- npm install -g npm@5
11+
- npm install -g greenkeeper-lockfile@1
12+
before_script: greenkeeper-lockfile-update
13+
after_script: greenkeeper-lockfile-upload
14+
script:
15+
- npm run lint
16+
- npm run test
17+
- npm run build
18+
after_success:
19+
- npm run travis-deploy-once "npm run semantic-release"
20+
- npm run codecov
21+
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run deploy-storybook-ci; fi
22+
branches:
23+
except:
24+
- /^v\d+\.\d+\.\d+$/

0 commit comments

Comments
 (0)