1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-23 12:25:16 +01:00
bitwarden-server/appveyor.yml

30 lines
968 B
YAML
Raw Normal View History

2019-03-08 05:21:58 +01:00
image:
- Visual Studio 2017
- Ubuntu1804
environment:
APPVEYOR_YML_DISABLE_PS_LINUX: true
services:
- docker
2019-03-08 05:46:06 +01:00
stack: node 10
2019-03-08 05:37:34 +01:00
install:
- sh: npm i -g gulp
2019-03-08 14:55:19 +01:00
- sh: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
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 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 05:21:58 +01:00
build_script:
2019-03-08 06:47:30 +01:00
#- dotnet build --configuration Debug
2019-03-08 05:37:34 +01:00
- sh: chmod +x ./build.sh
- sh: ./build.sh
- sh: ./build.sh tag dev
- sh: docker images
2019-03-08 14:55:19 +01:00
- sh: ./build.sh push dev
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 14:55:19 +01:00
after_build:
- sh: docker logout
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