Procházet zdrojové kódy

Add a local publish test

Steven Silvester před 8 roky
rodič
revize
eb40f013d1
1 změnil soubory, kde provedl 7 přidání a 0 odebrání
  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