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
|
- GOROOT=/usr/local/go
|
||||||
- PATH=$PATH:$GOROOT/bin:$GOPATH/bin
|
- PATH=$PATH:$GOROOT/bin:$GOPATH/bin
|
||||||
script:
|
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 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
|
- gem install fpm
|
||||||
- rbenv rehash
|
- rbenv rehash
|
||||||
|
- make docker
|
||||||
- make deps
|
- make deps
|
||||||
- make test
|
- make test
|
||||||
- make test_postgres
|
- make test_postgres
|
||||||
|
|
5
Makefile
5
Makefile
|
@ -5,10 +5,13 @@ ITTERATION := $(shell date +%s)
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
deps:
|
deps:
|
||||||
# which npm && npm -g install uglify-js less autoprefixer
|
|
||||||
go get github.com/GeertJohan/go.rice/rice
|
go get github.com/GeertJohan/go.rice/rice
|
||||||
go get -t -v ./...
|
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:
|
||||||
@test -z "$(shell find . -name '*.go' | xargs gofmt -l)" || (echo "Need to run 'go fmt ./...'"; exit 1)
|
@test -z "$(shell find . -name '*.go' | xargs gofmt -l)" || (echo "Need to run 'go fmt ./...'"; exit 1)
|
||||||
go vet ./...
|
go vet ./...
|
||||||
|
|
Loading…
Reference in a new issue