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,9 +17,23 @@ install:
- ps: Install-Product node 6 - ps: Install-Product node 6
build_script: build_script:
- cd src/Squidex
- npm i
- npm run build:copy
- npm run build
- cd ../..
- dotnet restore - dotnet restore
- dotnet publish src/Squidex/Squidex.csproj -o %APPVEYOR_BUILD_FOLDER%/release -c Release - 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 - 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: deploy:
- provider: GitHub - provider: GitHub
@ -28,8 +42,8 @@ deploy:
artifact: release.zip artifact: release.zip
after_deploy: after_deploy:
- docker push squidex/squidex:latest
- docker login -u="%DOCKER_USER%" -p="%DOCKER_PASS%" - docker login -u="%DOCKER_USER%" -p="%DOCKER_PASS%"
- docker push squidex/squidex:latest
- docker push squidex/squidex:%APPVEYOR_BUILD_VERSION% - docker push squidex/squidex:%APPVEYOR_BUILD_VERSION%
artifacts: artifacts:

Loading…
Cancel
Save