This repository has been archived by the owner on Apr 24, 2019. It is now read-only.
forked from ebekker/ACMESharp
-
Notifications
You must be signed in to change notification settings - Fork 4
/
appveyor.yml
77 lines (75 loc) · 2.02 KB
/
appveyor.yml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: 0.8.1.{build}
pull_requests:
do_not_increment_build_number: true
skip_tags: true
environment:
secureInfoPassword:
secure: r5xGVtj4yCfOX7QUsgBCq9IIK2/99/JrSfhmspffhzU=
ACME_POSH_PATH: C:\projects\acmesharp\ACMESharp\ACMESharp.POSH-test\bin\ACMESharp
install:
- ps: .\ci\av-install.ps1
nuget:
account_feed: true
project_feed: true
disable_publish_on_pr: true
build_script:
- ps: .\ci\av-build.ps1
before_test:
- ps: >-
$doPester = ((wget http://acmesharp.zyborg.io/appveyor-pester.txt).Content -eq 1)
if ($doPester) {
echo ACME_POSH_PATH = $ENV:ACME_POSH_PATH
choco install pester
}
test:
categories:
except:
- skipCI
- acmeServerIntegXXX
after_test:
- ps: >-
$doPester = ((wget http://acmesharp.zyborg.io/appveyor-pester.txt).Content -eq 1)
if ($doPester) {
$env:ACME_POSH_PATH = 'C:\projects\acmesharp\ACMESharp\ACMESharp.POSH-test\bin\ACMESharp'
Invoke-Pester
}
artifacts:
- path: ACMESharp\ACMESharp\bin
name: ACME-lib
type: zip
- path: ACMESharp\ACMESharp.POSH\bin
name: ACME-posh
type: zip
- path: ACMESharp\ACMESharp.POSH-test\Pester
name: ACME-posh-pester
type: zip
- path: ACMESharp\ACMESharp.POSH-test\bin
name: ACME-posh-pester-bin
type: zip
- path: ACMESharp\dist\nuget\*.nupkg
name: ACME-lib-nuget
- path: ACMESharp\ACMESharp.POSH\choco\**\*.nupkg
name: ACME-posh-choco
- path: ACMESharp\ACMESharp.POSH-test\choco\**\*.nupkg
name: ACME-posh-all-choco
- path: cov-int
name: ACMESharp-coverity
type: zip
deploy:
- provider: S3
access_key_id: AKIAIU2XOHJ3HOICE4NA
secret_access_key:
secure: SFUn+5KMSOZJunA0RgHcztIE1O3mSv2gVgSBJnBwWV/miBevC9/CB+GWpSJ2XBjn
region: us-east-1
bucket: acmesharp.zyborg.io
folder: appveyor-deploy
artifact: ACME-lib,ACME-posh,ACME-posh-pester,ACME-posh-pester-bin
set_public: true
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/dc0dd42c91579a605d09
on_build_success: true
on_build_failure: true
on_build_status_changed: true
on_finish:
- ps: .\ci\av-onfinish.ps1