add ci infrastructure
This commit is contained in:
4
scripts/build
Executable file
4
scripts/build
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
go build -o built-out ./cmd/out
|
||||
go build -o built-check ./cmd/check
|
||||
18
scripts/test
Executable file
18
scripts/test
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
# vim: set ft=sh
|
||||
|
||||
set -e
|
||||
|
||||
export GOPATH=$PWD/gopath
|
||||
export PATH=$GOPATH/bin:$PATH
|
||||
|
||||
cd $GOPATH/src/github.com/concourse/github-release-resource
|
||||
|
||||
export GOPATH=${PWD}/Godeps/_workspace:$GOPATH
|
||||
export PATH=${PWD}/Godeps/_workspace/bin:$PATH
|
||||
|
||||
go install github.com/onsi/ginkgo/ginkgo
|
||||
|
||||
ginkgo -r -p "$@"
|
||||
|
||||
./scripts/build
|
||||
Reference in New Issue
Block a user