From 84dd304e4d5f12fb0f35e53b52b58ea4ed7d7d4b Mon Sep 17 00:00:00 2001 From: Wei Zhu Date: Thu, 4 Jan 2018 03:53:33 -0600 Subject: [PATCH] Add build to travis ci (#565) --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 3fecb80c..7f555378 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ node_js: env: matrix: - TEST_TYPE=lint + - TEST_TYPE=build - TEST_TYPE=test-all - TEST_TYPE=test-dist @@ -23,6 +24,8 @@ script: - | if [ "$TEST_TYPE" = lint ]; then npm run lint + elif [ "$TEST_TYPE" = build ]; then + npm run build elif [ "$TEST_TYPE" = test-all ]; then npm run test:all elif [ "$TEST_TYPE" = test-dist ]; then -- GitLab