소스 검색

Add a local publish test

Steven Silvester 8 년 전
부모
커밋
eb40f013d1
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  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