-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathci.yaml
51 lines (43 loc) · 1.09 KB
/
ci.yaml
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
version: 2
services:
database: couchdb
pipeline:
checkout:
clone_to: $working_dir
build:
depends_on: checkout
image: dbones/monocore:1.1-2.0 bash
script:
- cd src/
- dotnet restore --packages packages
- msbuild /target:Build /p:Configuration=Release /p:BuildNumber=$build_number
test:
depends_on: build
image: microsoft/aspnetcore-build:1.1-2.0 bash
script:
- cd src/ArmChair.Tests/
- dotnet test --no-build --no-restore --framework netcoreapp1.1 --configuration Release
pack:
depends_on: build
image: dbones/monocore:1.1-2.0 bash
script:
- cd src/
- dotnet pack --no-build --no-restore --configuration Release --output ../nupkgs
deploy:
on:
repo: dboneslabs/arm-chair
branch: master
depends_on:
- test
- pack
using:
image: ciplugins/uploadbitbucket
files: /nupkgs/*.nupkg
username: $$bb_user
password: $$bb_pwd
notify:
depends_on:
- ignore_failure: all
using:
image: ciplugins/notifyemail
addresses: $$project_admin_email