Browse Source

Full build brought back.

pull/85/head
Sebastian Stehle 9 years ago
parent
commit
697df6fb85
  1. 16
      appveyor.yml

16
appveyor.yml

@ -17,10 +17,24 @@ install:
- ps: Install-Product node 6
build_script:
- cd src/Squidex
- npm i
- npm run build:copy
- npm run build
- cd ../..
- dotnet restore
- dotnet publish src/Squidex/Squidex.csproj -o %APPVEYOR_BUILD_FOLDER%/release -c Release
- docker build -t squidex/squidex:%APPVEYOR_BUILD_VERSION% -t squidex/squidex:latest %APPVEYOR_BUILD_FOLDER%/release
test_script:
- dotnet test tests/Squidex.Infrastructure.Tests/Squidex.Infrastructure.Tests.csproj
- dotnet test tests/Squidex.Domain.Apps.Core.Tests/Squidex.Domain.Apps.Core.Tests.csproj
- dotnet test tests/Squidex.Domain.Apps.Read.Tests/Squidex.Domain.Apps.Read.Tests.csproj
- dotnet test tests/Squidex.Domain.Apps.Write.Tests/Squidex.Domain.Apps.Write.Tests.csproj
- dotnet test tests/Squidex.Domain.Users.Tests/Squidex.Domain.Users.Tests.csproj
- cd src/Squidex
- npm run test:coverage
deploy:
- provider: GitHub
auth_token:
@ -28,8 +42,8 @@ deploy:
artifact: release.zip
after_deploy:
- docker push squidex/squidex:latest
- docker login -u="%DOCKER_USER%" -p="%DOCKER_PASS%"
- docker push squidex/squidex:latest
- docker push squidex/squidex:%APPVEYOR_BUILD_VERSION%
artifacts:

Loading…
Cancel
Save