Browse Source

Add a local publish test

Steven Silvester 8 years ago
parent
commit
eb40f013d1
1 changed files with 7 additions and 0 deletions
  1. 7 0
      scripts/travis_script.sh

+ 7 - 0
scripts/travis_script.sh

@@ -32,6 +32,13 @@ if [[ $GROUP == tests ]]; then
     npm install -g postcss-cli
     postcss jupyterlab/build/*.css > /dev/null
 
+    # Run the publish script in jupyterlab
+    cd jupyterlab
+    npm run publish
+
+    if [ ! -f ./build/release_data.json ]; then
+        echo "npm publish in jupyterlab unsucessful!"
+    fi
 fi