Skip to content

Commit

Permalink
Poor man acceptance tests for cmd/gobin (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafal Jeczalik committed Jul 31, 2014
1 parent a3404ad commit c552961
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ go:
- 1.3

install:
- export GOBIN=$HOME/bin
- export PATH=$GOBIN:$PATH
- go get code.google.com/p/go.tools/cmd/vet
- go get -t -v ./...
- go install -a -race std
Expand All @@ -12,3 +14,9 @@ script:
- go tool vet -all .
- go build ./...
- go test -race -v ./...
- go get github.com/rjeczalik/bin/cmd/gobin
- go get github.com/rjeczalik/which/cmd/gowhich github.com/rjeczalik/which/cmd/gofile
- go get github.com/rjeczalik/tools/cmd/gotree
- go get github.com/rjeczalik/bindata/cmd/bindata
- GOMAXPROCS=4 gobin -u

9 changes: 8 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ clone_folder: c:\projects\src\github.com\rjeczalik\bin

environment:
GOPATH: c:\projects
GOBIN: c:\projects\bin
GOMAXPROCS: 2

install:
- set PATH=%GOPATH%\bin;%PATH%
- set PATH=%GOBIN%;%PATH%
- cd %APPVEYOR_BUILD_FOLDER%
- go version
- go get code.google.com/p/go.tools/cmd/vet
Expand All @@ -18,6 +20,11 @@ build_script:
- go tool vet -all .
- go build ./...
- go test -race -v ./...
- go get github.com/rjeczalik/bin/cmd/gobin
- go get github.com/rjeczalik/which/cmd/gowhich github.com/rjeczalik/which/cmd/gofile
- go get github.com/rjeczalik/tools/cmd/gotree
- go get github.com/rjeczalik/bindata/cmd/bindata
- gobin -u

test: off

Expand Down

0 comments on commit c552961

Please sign in to comment.