File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11init :
22 - git config --global core.autocrlf true
33install :
4+ - ps : Install-Product node 6.9.2 x64
45 # .NET Core SDK binaries
56 # Download .NET Core SDK and add to PATH
67 - ps : $urlCurrent = "https://go.microsoft.com/fwlink/?LinkID=834991"
@@ -16,9 +17,11 @@ install:
1617 - ps : Copy-Item "${env:DOTNET_INSTALL_DIR}preview\*" "${env:DOTNET_INSTALL_DIR}" -Force -Recurse
1718 - ps : $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
1819build_script :
19- - npm install -g npm@^3.0.0
20- - npm --prefix templates/package-builder install
21- - npm --prefix templates/package-builder run build
20+ - ps : Push-Location
21+ - cd templates/package-builder
22+ - npm install
23+ - npm run build
24+ - ps : Pop-Location
2225# - build.cmd verify
2326clone_depth : 1
2427test_script :
@@ -27,9 +30,12 @@ test_script:
2730 - selenium-standalone install
2831 # The nosys flag is needed for selenium to work on Appveyor
2932 - ps : Start-Process selenium-standalone 'start','--','-Djna.nosys=true'
30- - npm --prefix test install
31- - npm --prefix test test
33+ - ps : Push-Location
34+ - cd test
35+ - npm install
36+ - npm test
3237on_finish :
38+ - ps : Pop-Location
3339 # After running tests, upload results to Appveyor
3440 - ps : (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\test\tmp\junit\*.xml))
3541deploy : off
You can’t perform that action at this time.
0 commit comments