mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-30 04:10:32 +00:00
peg version of Docker
This commit is contained in:
parent
a0aaed0955
commit
31b2c806e7
2 changed files with 8 additions and 2 deletions
|
@ -5,10 +5,13 @@ env:
|
|||
- GOROOT=/usr/local/go
|
||||
- PATH=$PATH:$GOROOT/bin:$GOPATH/bin
|
||||
script:
|
||||
- sudo add-apt-repository ppa:git-core/ppa 1> /dev/null 2> /dev/null
|
||||
- sudo apt-get update 1> /dev/null 2> /dev/null
|
||||
- sudo apt-get -y install zip libsqlite3-dev sqlite3 rpm 1> /dev/null 2> /dev/null
|
||||
- sudo apt-get update 1> /dev/null 2> /dev/null
|
||||
- sudo apt-get -y install git zip libsqlite3-dev sqlite3 rpm 1> /dev/null 2> /dev/null
|
||||
- gem install fpm
|
||||
- rbenv rehash
|
||||
- make docker
|
||||
- make deps
|
||||
- make test
|
||||
- make test_postgres
|
||||
|
|
5
Makefile
5
Makefile
|
@ -5,10 +5,13 @@ ITTERATION := $(shell date +%s)
|
|||
all: build
|
||||
|
||||
deps:
|
||||
# which npm && npm -g install uglify-js less autoprefixer
|
||||
go get github.com/GeertJohan/go.rice/rice
|
||||
go get -t -v ./...
|
||||
|
||||
docker:
|
||||
mkdir -p $$GOPATH/src/github.com/docker/docker
|
||||
git clone --depth=1 --branch=v1.5.0 git://github.com/docker/docker.git $$GOPATH/src/github.com/docker/docker
|
||||
|
||||
test:
|
||||
@test -z "$(shell find . -name '*.go' | xargs gofmt -l)" || (echo "Need to run 'go fmt ./...'"; exit 1)
|
||||
go vet ./...
|
||||
|
|
Loading…
Reference in a new issue