Browse Source

App Veyor test

pull/65/head
Sebastian Stehle 9 years ago
parent
commit
288c08a4dc
  1. 1
      Dockerfile.build
  2. 27
      appveyor.yaml

1
Dockerfile.build

@ -1,6 +1,5 @@
FROM microsoft/aspnetcore-build:1.1.2 FROM microsoft/aspnetcore-build:1.1.2
# Install runtime dependencies # Install runtime dependencies
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends ca-certificates bzip2 libfontconfig \ && apt-get install -y --no-install-recommends ca-certificates bzip2 libfontconfig \

27
appveyor.yaml

@ -0,0 +1,27 @@
version: '{build}'
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
nuget:
disable_publish_on_pr: true
build_script:
- ps: .\Build.ps1
test: off
environment:
access_token:
secure: zxkLpKLm1mUIYooOeSU+23amdt4NqHVLpwZB77KgBnkiUjckL3+0yHHXVrliBNeW
git_email:
secure: BLyuNJtu5HhsReY6l7Fc3L43OQZSASkoqt1be7OIe8A
on_success:
- git config --global credential.helper store
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):x-oauth-basic@github.com`n"
- git config --global user.email "$($env:git_email)"
- git config --global user.name "Squidex Build"
- git config --global core.autocrlf true
- git checkout master
- git add .
- git commit -m "ci deploy"
- git status
- git push origin master:release -f
Loading…
Cancel
Save