appveyor.cmd 1.0 KB

123456789101112131415161718192021222324252627282930
  1. IF "%NAME%"=="python" (
  2. py.test -v
  3. ) ELSE IF "%NAME%"=="integrity" (
  4. if !errorlevel! neq 0 exit /b !errorlevel!
  5. jlpm run build:core
  6. if !errorlevel! neq 0 exit /b !errorlevel!
  7. jlpm run integrity --force
  8. if !errorlevel! neq 0 exit /b !errorlevel!
  9. python -m jupyterlab.browser_check --core-mode
  10. if !errorlevel! neq 0 exit /b !errorlevel!
  11. python -m jupyterlab.browser_check --dev-mode
  12. if !errorlevel! neq 0 exit /b !errorlevel!
  13. jlpm run build
  14. if !errorlevel! neq 0 exit /b !errorlevel!
  15. jupyter lab build
  16. if !errorlevel! neq 0 exit /b !errorlevel!
  17. python -m jupyterlab.browser_check
  18. ) ELSE (
  19. jlpm run build:packages:scope --scope "@jupyterlab/%NAME%"
  20. if !errorlevel! neq 0 exit /b !errorlevel!
  21. jlpm run build:test:scope --scope "@jupyterlab/test-%NAME%"
  22. if !errorlevel! neq 0 exit /b !errorlevel!
  23. setx FORCE_COLOR 1 && jlpm run test:scope --loglevel success --scope "@jupyterlab/test-%NAME%"
  24. )
  25. if !errorlevel! neq 0 exit /b !errorlevel!