Skip to content

Instantly share code, notes, and snippets.

@giantryansaul
Last active December 6, 2017 17:02
Show Gist options
  • Save giantryansaul/891ab07faca8566c622149a3e72c6f3f to your computer and use it in GitHub Desktop.
Save giantryansaul/891ab07faca8566c622149a3e72c6f3f to your computer and use it in GitHub Desktop.
4-Tell AppVeyor setup
-
version: "{build}"
environment:
nodejs_version: "6"
install:
- ps: Install-Product node $env:nodejs_version
- npm install
build_script:
- ps: dotnet build
test_script:
- ps: dotnet test .\test\DashboardV3Tests
- ps: dotnet test .\test\DashboardV3.IntegrationTests
- npm --prefix .\src\DashboardV3\ui run-script appveyorTest
-
branches:
only:
- develop
version: "{build}"
environment:
nodejs_version: "6"
install:
- ps: Install-Product node $env:nodejs_version
- npm install
test_script:
- ps: dotnet test .\test\DashboardV3Tests
- ps: dotnet test .\test\DashboardV3.IntegrationTests
- npm --prefix .\src\DashboardV3\ui run-script appveyorTest
build_script:
- ps: appveyor-retry dotnet publish .\src\DashboardV3\DashboardV3.csproj -c Release -f "netcoreapp2.0"
artifacts:
- path: '.\src\DashboardV3\bin\Release\netcoreapp2.0\publish'
name: Dashboard
type: WebDeployPackage
deploy:
- provider: Environment
name: 'DashboardV3 - Dev'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment