瀏覽代碼

Clean up the travis scripts

Steven Silvester 8 年之前
父節點
當前提交
72cf959d10
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      scripts/travis_script.sh

+ 3 - 1
scripts/travis_script.sh

@@ -12,8 +12,9 @@ export PATH="$HOME/miniconda/bin:$PATH"
 if [[ $GROUP == tests ]]; then
 
     # Run the JS and python tests
-    npm test
     py.test
+    npm run build
+    npm test
 
     # Make sure we have CSS that can be converted with postcss
     npm install -g postcss-cli
@@ -32,6 +33,7 @@ fi
 
 if [[ $GROUP == coverage ]]; then
     # Run the coverage check.
+    npm run build
     npm run coverage
 
     # Run the link check