mirror of
https://github.com/harness/drone.git
synced 2025-05-11 06:30:06 +08:00
enable 0.4 yaml syntax for build
This commit is contained in:
parent
7d01754599
commit
d101ef3ed6
15
.drone.yml
15
.drone.yml
@ -41,3 +41,18 @@ publish:
|
|||||||
recursive: true
|
recursive: true
|
||||||
when:
|
when:
|
||||||
owner: drone
|
owner: drone
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# new build script for 0.4 branch
|
||||||
|
|
||||||
|
build:
|
||||||
|
image: golang:1.4.2
|
||||||
|
environment:
|
||||||
|
- GOPATH=/drone
|
||||||
|
commands:
|
||||||
|
- apt-get update 1> /dev/null 2> /dev/null
|
||||||
|
- apt-get -y install libsqlite3-dev sqlite3 1> /dev/null 2> /dev/null
|
||||||
|
- make deps
|
||||||
|
- make test
|
||||||
|
Loading…
Reference in New Issue
Block a user