Przeglądaj źródła

switch to separate cmd script

Steven Silvester 7 lat temu
rodzic
commit
cf9432074f
2 zmienionych plików z 15 dodań i 13 usunięć
  1. 1 13
      appveyor.yml
  2. 14 0
      scripts/appveyor.cmd

+ 1 - 13
appveyor.yml

@@ -46,16 +46,4 @@ build: off
 
 # to run your custom scripts instead of automatic tests
 test_script:
-  - cmd: >-
-      jlpm
-      If "%PYTHON_VERSION%"=="3.6" ( 
-        py.test
-        python -m jupyterlab.selenium_check
-        python -m jupyterlab.selenium_check --dev-mode
-      ) Else (
-        jlpm run integrity
-        jlpm run build
-        jlpm run build:test
-        (jlpm test) -OR (jlpm test) -OR (jlpm test)
-        jupyter lab build
-      )
+  - "cmd /E:ON /V:ON /C .\\scripts\\appveyor.cmd"

+ 14 - 0
scripts/appveyor.cmd

@@ -0,0 +1,14 @@
+
+jlpm
+
+IF "%PYTHON_VERSION%"=="3.6" ( 
+    py.test
+    python -m jupyterlab.selenium_check
+    python -m jupyterlab.selenium_check --dev-mode
+) ELSE (
+    jlpm run integrity
+    jlpm run build
+    jlpm run build:test
+    jlpm test || jlpm test || jlpm test
+    jupyter lab build
+)