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 06:17:58 +01:00
|
|
|
configuration: Release
|
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 06:14:38 +01:00
|
|
|
before_build:
|
|
|
|
- cmd: msbuild /t:restore
|
2019-03-08 05:21:58 +01:00
|
|
|
build_script:
|
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 06:29:47 +01:00
|
|
|
# - sh: ./build.sh push dev
|
|
|
|
- cmd: msbuild bitwarden-server.sln /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
2019-03-08 06:34:51 +01:00
|
|
|
test_script:
|
|
|
|
- cmd: dotnet test .\test\Core.Test\Core.Test.csproj --configuration Debug --no-build
|