Commit 84dd304e authored by Wei Zhu's avatar Wei Zhu Committed by ddcat1115

Add build to travis ci (#565)

parent bba32aa7
...@@ -6,6 +6,7 @@ node_js: ...@@ -6,6 +6,7 @@ node_js:
env: env:
matrix: matrix:
- TEST_TYPE=lint - TEST_TYPE=lint
- TEST_TYPE=build
- TEST_TYPE=test-all - TEST_TYPE=test-all
- TEST_TYPE=test-dist - TEST_TYPE=test-dist
...@@ -23,6 +24,8 @@ script: ...@@ -23,6 +24,8 @@ script:
- | - |
if [ "$TEST_TYPE" = lint ]; then if [ "$TEST_TYPE" = lint ]; then
npm run lint npm run lint
elif [ "$TEST_TYPE" = build ]; then
npm run build
elif [ "$TEST_TYPE" = test-all ]; then elif [ "$TEST_TYPE" = test-all ]; then
npm run test:all npm run test:all
elif [ "$TEST_TYPE" = test-dist ]; then elif [ "$TEST_TYPE" = test-dist ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment