forked from alan-if/alan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
27 lines (27 loc) · 999 Bytes
/
.drone.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
build:
image: xenial
env:
- LD_LIBRARY_PATH=/usr/local/lib
commands:
- sudo apt-get -q update
- sudo apt-get -q autoremove
- sudo DEBIAN_FRONTEND=noninteractive apt-get -q install libc6-dev-i386
- sudo DEBIAN_FRONTEND=noninteractive apt-get -q install zip
- sudo DEBIAN_FRONTEND=noninteractive apt-get -q install wget
- wget https://github.com/cgreen-devs/cgreen/releases/download/1.0.0/cgreen_1.0.0_amd64.deb
- sudo dpkg -D1 -i cgreen_1.0.0_amd64.deb
- echo $BUILD_ID > BUILD_NUMBER
- make unit
- make build
- make JREGROUTPUT=-noansi test
- make package
notify:
slack:
webhook_url: 'https://hooks.slack.com/services/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'
username: 'drone'
channel: '#general'
template: >
Alan build #{{ build.number }} finished with a {{ build.status }} status
on_started: false
on_success: true
on_failure: true