Browse Source

Github test

pull/85/head
Sebastian Stehle 9 years ago
parent
commit
ffa7281835
  1. 23
      appveyor.yml

23
appveyor.yml

@ -17,23 +17,9 @@ 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
@ -47,4 +33,11 @@ after_deploy:
- docker push squidex/squidex:%APPVEYOR_BUILD_VERSION%
artifacts:
- path: release
- path: release
notifications:
- provider: Slack
incoming_webhook: https://hooks.slack.com/services/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
on_build_success: true
on_build_failure: false
on_build_status_changed: true
Loading…
Cancel
Save