Browse Source

Clean up the travis scripts

Steven Silvester 8 years ago
parent
commit
72cf959d10
1 changed files with 3 additions and 1 deletions
  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