Begin re-enabling tests in AppVeyor (still need to diagnose why they intermittently time out)

This commit is contained in:
Steve Sanderson
2017-05-17 10:18:26 +01:00
parent 5ade33b870
commit 3390d75528

View File

@@ -31,17 +31,17 @@ artifacts:
# - ps: .\build.ps1
clone_depth: 1
test_script:
# - dotnet restore ./src
# - npm install -g selenium-standalone
# - selenium-standalone install
- dotnet restore ./src
- npm install -g selenium-standalone
- selenium-standalone install
# The nosys flag is needed for selenium to work on Appveyor
# - ps: Start-Process selenium-standalone 'start','--','-Djna.nosys=true'
# - ps: Push-Location
# - cd test
# - npm install
# - npm test
- ps: Start-Process selenium-standalone 'start','--','-Djna.nosys=true'
- ps: Push-Location
- cd test
- npm install
- npm test
on_finish :
# - ps: Pop-Location
- ps: Pop-Location
# After running tests, upload results to Appveyor
# - ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\test\tmp\junit\*.xml))
- ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\test\tmp\junit\*.xml))
deploy: off