2018-04-11 12:51:54 +00:00
|
|
|
environment:
|
2018-09-21 22:22:35 +00:00
|
|
|
matrix:
|
2018-11-15 23:36:13 +00:00
|
|
|
- nodejs_version: "8.11.3"
|
2018-09-21 22:22:35 +00:00
|
|
|
- nodejs_version: "8"
|
|
|
|
- nodejs_version: "10"
|
2018-11-15 23:36:13 +00:00
|
|
|
cache:
|
|
|
|
- "%LOCALAPPDATA%\\Yarn"
|
2018-04-11 12:51:54 +00:00
|
|
|
install:
|
|
|
|
- ps: Install-Product node $env:nodejs_version
|
2018-11-15 23:36:13 +00:00
|
|
|
- ps: Start-FileDownload 'https://github.com/yarnpkg/yarn/releases/download/v1.12.3/yarn-1.12.3.msi'
|
|
|
|
- cmd /c start /wait msiexec.exe /i yarn-1.12.3.msi /quiet /qn /norestart
|
|
|
|
- rm yarn-1.12.3.msi
|
2018-11-11 21:08:55 +00:00
|
|
|
- node --version
|
2018-11-15 23:36:13 +00:00
|
|
|
- yarn --version
|
|
|
|
- yarn install
|
|
|
|
- cd embark-ui && yarn install && cd ..
|
|
|
|
- git status && node -e "process.exit(require('child_process').execSync('git status --porcelain').toString().trim()===''?0:1)"
|
2018-04-11 12:51:54 +00:00
|
|
|
test_script:
|
2018-11-11 21:08:55 +00:00
|
|
|
- npm run build:node
|
2018-09-11 18:11:43 +00:00
|
|
|
- npm test
|
2018-04-11 12:51:54 +00:00
|
|
|
build: off
|