Skip to content

Commit 8840bfc

Browse files
committed
add newer gxed CI stuff
1 parent cb466b6 commit 8840bfc

File tree

2 files changed

+30
-12
lines changed

2 files changed

+30
-12
lines changed

.travis.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,24 @@
1+
os:
2+
- linux
3+
- osx
4+
15
language: go
26

37
go:
4-
- 1.7
5-
- tip
8+
- 1.7
9+
10+
install: true
11+
12+
before_install:
13+
- make deps
614

715
script:
8-
- make test
16+
- go vet
17+
- $GOPATH/bin/goveralls -service="travis-ci"
18+
19+
cache:
20+
directories:
21+
- $GOPATH/src/gx
922

10-
env: TEST_VERBOSE=1
23+
notifications:
24+
email: false

Makefile

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
test: go_test other_tests
1+
gx:
2+
go get github.com/whyrusleeping/gx
3+
go get github.com/whyrusleeping/gx-go
24

3-
other_tests:
4-
cd test && make test
5+
covertools:
6+
go get github.com/mattn/goveralls
7+
go get golang.org/x/tools/cmd/cover
58

6-
go_test: go_deps
7-
go test -race -cpu=5 -v ./...
9+
deps: gx covertools
10+
gx --verbose install --global
11+
gx-go rewrite
12+
13+
publish:
14+
gx-go rewrite --undo
815

9-
go_deps:
10-
go get golang.org/x/crypto/sha3
11-
go get github.com/jbenet/go-base58

0 commit comments

Comments
 (0)