File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
init :
2
2
- git config --global core.autocrlf true
3
3
install :
4
+ - ps : Install-Product node 6.9.2 x64
4
5
# .NET Core SDK binaries
5
6
# Download .NET Core SDK and add to PATH
6
7
- ps : $urlCurrent = "https://go.microsoft.com/fwlink/?LinkID=834991"
@@ -16,9 +17,11 @@ install:
16
17
- ps : Copy-Item "${env:DOTNET_INSTALL_DIR}preview\*" "${env:DOTNET_INSTALL_DIR}" -Force -Recurse
17
18
- ps : $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
18
19
build_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
22
25
# - build.cmd verify
23
26
clone_depth : 1
24
27
test_script :
@@ -27,9 +30,12 @@ test_script:
27
30
- selenium-standalone install
28
31
# The nosys flag is needed for selenium to work on Appveyor
29
32
- 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
32
37
on_finish :
38
+ - ps : Pop-Location
33
39
# After running tests, upload results to Appveyor
34
40
- ps : (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\test\tmp\junit\*.xml))
35
41
deploy : off
You can’t perform that action at this time.
0 commit comments