1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-26 12:55:17 +01:00
bitwarden-server/appveyor.yml

34 lines
1003 B
YAML
Raw Normal View History

2019-03-08 05:21:58 +01:00
image:
2019-03-08 20:29:14 +01:00
- Visual Studio 2017
2019-03-08 05:21:58 +01:00
- Ubuntu1804
2019-03-08 20:16:44 +01:00
2019-03-08 05:21:58 +01:00
environment:
APPVEYOR_YML_DISABLE_PS_LINUX: true
2019-03-08 20:16:44 +01:00
2019-03-08 05:21:58 +01:00
services:
- docker
2019-03-08 20:16:44 +01:00
2019-03-08 05:46:06 +01:00
stack: node 10
2019-03-08 20:16:44 +01:00
2019-03-08 05:37:34 +01:00
install:
- sh: npm i -g gulp
2019-03-08 06:17:58 +01:00
- cmd: choco install cloc --no-progress
- cmd: "cloc --include-lang C#,SQL,Razor,\"Bourne Shell\",PowerShell,HTML,CSS,Sass,JavaScript,TypeScript --vcs git"
2019-03-08 20:16:44 +01:00
2019-03-08 06:14:38 +01:00
before_build:
2019-03-08 06:47:30 +01:00
#- sh: dotnet restore
2019-03-08 06:14:38 +01:00
- cmd: msbuild /t:restore
2019-03-08 20:16:44 +01:00
2019-03-08 05:21:58 +01:00
build_script:
2019-03-08 20:16:44 +01:00
- sh: chmod +x ./build-ci.sh
- sh: ./build-ci.sh
2019-03-08 23:40:44 +01:00
#- sh: ASPNETCORE_ENVIRONMENT=Production && swaggerGen=true && dotnet swagger tofile --output swagger.json --host api.bitwarden.com --format Indented bin/Debug/netcoreapp2.1/Api.dll public
2019-03-08 06:41:24 +01:00
- cmd: msbuild bitwarden-server.sln /p:Configuration=Debug /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
2019-03-08 20:16:44 +01:00
2019-03-08 14:55:19 +01:00
after_build:
- sh: docker logout
2019-03-08 20:16:44 +01:00
2019-03-08 06:34:51 +01:00
test_script:
2019-03-08 06:47:30 +01:00
#- sh: dotnet test .\test\Core.Test\Core.Test.csproj --configuration Debug --no-build
2019-03-08 06:34:51 +01:00
- cmd: dotnet test .\test\Core.Test\Core.Test.csproj --configuration Debug --no-build