-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
39 lines (39 loc) · 1.21 KB
/
appveyor.yml
File metadata and controls
39 lines (39 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: '1.0.{build}-{branch}'
pull_requests:
do_not_increment_build_number: true
image: Visual Studio 2017
notifications:
- provider: Webhook
url: https://discordapp.com/api/webhooks/414001424943415296/D0KxgjbWL1CwX10AnFJwrksWW1JWb7Cy5ymR0TLv6aDF_8_aJhT3CM8asA-d4QCh7vTs
method: POST
on_build_success: true
on_build_failure: true
on_build_status_changed: false
branches:
only:
- master
init:
# Good practise, because Windows line endings are different from Unix/Linux ones
- cmd: git config --global core.autocrlf true
install:
# Install repo specific stuff here
before_build:
# Display .NET Core version
- cmd: dotnet --version
# Display minimal restore text
- cmd: dotnet restore ./ScrubBot/ScrubBot.csproj --verbosity quiet
build_script:
# output will be in ./src/bin/debug/netcoreapp2.0/publish
- cmd: dotnet publish ./ScrubBot/ScrubBot.csproj
after_build:
# For once the build has completed
clone_depth: 1
# test_script:
# # restore packages for our unit tests
# - cmd: dotnet restore ./tests/tests.csproj --verbosity m
# # run the unit tests (requires changing into the test directory)
# - cmd: cd tests
# - cmd: dotnet xunit
on_finish :
# any cleanup in here
deploy: off