Skip to content

Commit 156c8d7

Browse files
author
Yifeng Wang
committed
build: add ci config
1 parent d377b62 commit 156c8d7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
language: node_js
2+
node_js:
3+
- stable
4+
cache:
5+
yarn: true
6+
7+
env:
8+
# Do two runs, one for testing and one for linting.
9+
matrix:
10+
- TEST_TYPE=lint
11+
- TEST_TYPE=test
12+
13+
script:
14+
# Run testing or linting depending on the environment.
15+
- yarn run $TEST_TYPE

0 commit comments

Comments
 (0)