Skip to content

Commit

Permalink
Remove gvm on travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
discordianfish committed Jun 13, 2013
1 parent 4524a5f commit 5624932
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 32 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

language: go

go:
- 1.1

# Explicitly stop before_script from doing anything by giving 'em nil work.
before_script:
- echo "Before Script"
Expand All @@ -13,6 +16,4 @@ install:
script:
- echo "Script"
- cd ${TRAVIS_BUILD_DIR}
- gvm install go1.1 || true
- gvm use go1.1 || true
- bash -l ./tests-for-die-in-a-fire-travis.sh
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ documentation: search_index
godoc -http=:6060 -index -index_files='search_index'

format:
find . -iname '*.go' | egrep -v "generated|\.(l|y)\.go" | xargs -n1 $(GOROOT)/bin/gofmt -w -s=true
find . -iname '*.go' | egrep -v "generated|\.(l|y)\.go" | xargs -n1 $(GOFMT) -w -s=true

build/cache/$(GOPKG):
curl -o $@ http://go.googlecode.com/files/$(GOPKG)
Expand Down
1 change: 1 addition & 0 deletions Makefile.INCLUDE
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ GOCC = $(GOROOT)/bin/go
TMPDIR = /tmp
GOENV = TMPDIR=$(TMPDIR) GOROOT=$(GOROOT) GOPATH=$(GOPATH)
GO = $(GOENV) $(GOCC)
GOFMT = $(GOENV) $(GOROOT)/bin/gofmt

LEVELDB_VERSION := 1.9.0
PROTOCOL_BUFFERS_VERSION := 2.5.0
Expand Down
1 change: 1 addition & 0 deletions build/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
root/
7 changes: 4 additions & 3 deletions build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,18 @@ cc-implementation-Linux-stamp:
[ -x "$$(which cc)" ] || $(APT_GET_INSTALL) build-essential
touch $@

dependencies-stamp: cache-stamp go-stamp goprotobuf-stamp gorest-stamp goskiplist-stamp instrumentation-stamp levigo-stamp
dependencies-stamp: cache-stamp go-stamp goprotobuf-protoc-gen-go-stamp gorest-stamp goskiplist-stamp instrumentation-stamp levigo-stamp
touch $@

go-stamp:
[ -x "$$(which go)" ] || { echo "go not found." ; false ; }
touch $@

goprotobuf-protoc-gen-go-stamp: protoc-stamp
goprotobuf-protoc-gen-go-stamp: protoc-stamp goprotobuf-stamp
$(GO_GET) code.google.com/p/goprotobuf/protoc-gen-go $(THIRD_PARTY_BUILD_OUTPUT)
touch $@

goprotobuf-stamp: go-stamp mercurial-stamp
goprotobuf-stamp: go-stamp protoc-stamp mercurial-stamp
$(GO_GET) code.google.com/p/goprotobuf/proto $(THIRD_PARTY_BUILD_OUTPUT)
touch $@

Expand Down Expand Up @@ -159,6 +159,7 @@ clean:
$(MAKE) -C cache clean
$(MAKE) -C dirty clean
$(MAKE) -C root clean
$(MAKE) -C package clean
rm -rf *-stamp


Expand Down
2 changes: 0 additions & 2 deletions tests-for-die-in-a-fire-travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,4 @@
# A helper until https://github.com/travis-ci/travis-cookbooks/issues/184 is
# remedied.

. ./tests-for-die-in-a-fire-travis.shlib

make -f Makefile || exit 1
23 changes: 0 additions & 23 deletions tests-for-die-in-a-fire-travis.shlib

This file was deleted.

1 change: 1 addition & 0 deletions tools/dumper/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dumper
4 changes: 3 additions & 1 deletion web/blob/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.

include ../../Makefile.INCLUDE

all: files.go

SUFFIXES:

files.go: $(shell find ../templates/ ../static/ -type f)
../../utility/embed-static.sh ../static ../templates | gofmt > $@
../../utility/embed-static.sh ../static ../templates | $(GOFMT) > $@

clean:
-rm files.go
Expand Down

0 comments on commit 5624932

Please sign in to comment.