Guest User

Untitled

a guest
Jan 9th, 2018
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. version: 0.0.{build}
  2. branches:
  3. only:
  4. - dev
  5.  
  6. image: Visual Studio 2017
  7.  
  8. before_build:
  9. - nuget restore
  10.  
  11. cache:
  12. - App_Data
  13.  
  14. build:
  15. project: IdentityServer.sln
  16. publish_wap: true
  17. verbosity: minimal
  18. after_build:
  19. - cmd: dotnet publish --output %appveyor_build_folder%\api-dist
  20.  
  21. # Test against this version of Node.js
  22. environment:
  23. nodejs_version: "Stable"
  24.  
  25. install:
  26. - cd .\src\IdentityServer.Web
  27. - ps: Install-Product node $env:nodejs_version
  28. - npm whoami
  29. - npm install
  30. - npm install -g @angular/cli
  31. - cd ..\..
  32.  
  33. test_script:
  34. - cd .\src\IdentityServer.Web
  35. - node --version
  36. - npm --version
  37. - ng test --watch false --single-run true
  38. - cd ..\..
  39. after_test:
  40. - cd .\src\IdentityServer.Web
  41. - ng build --prod --aot -op %appveyor_build_folder%\web-dist
  42. - cd ..\..
  43. artifacts:
  44. - path: web-dist
  45. name: web.web
  46. - path: api-dist
  47. name: api.web
  48.  
  49. deploy:
  50. - provider: Environment
  51. name: IdentityServer (DEVELOPMENT)
  52. on:
  53. branch: dev
  54. - provider: Environment
  55. name: IdentityServer.Web (DEVELOPMENT)
  56. on:
  57. branch: dev
  58.  
  59. notifications:
  60. - provider: Email
  61. to:
  62. - oskar.norling@apirix.com
  63. - haris@apirix.com
  64. - henrik.gabrielsson@apirix.com
  65. - jesper@beanloop.se
  66. - julian.simonsson@apirix.com
  67. - patrik.erlandsson@apirix.com
  68. - misha.kolchenko@apirix.com
  69. on_build_success: true
  70. on_build_failure: true
  71. on_build_status_changed: true
Add Comment
Please, Sign In to add comment