Skip to content

Commit d3cd88b

Browse files
committed
Test on ppc64le
1 parent bf634d3 commit d3cd88b

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.travis.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,30 @@ go:
99
- 1.12
1010
- tip
1111

12+
os:
13+
- linux
14+
- linux-ppc64le
15+
16+
1217
before_install:
1318
- "if [[ $TRAVIS_GO_VERSION == 1.11 ]]; then go get -u golang.org/x/lint/golint; fi"
1419

1520
install:
1621
- go get -v -t ./...
1722

1823
script:
19-
- go test -race -cpu 1,4 -v
20-
- go test -race -v -tags appengine
24+
- |
25+
if [ $(arch) == "ppc64le" ]; then
26+
go test -cpu 1,4 -v
27+
else
28+
go test -race -cpu 1,4 -v
29+
fi
30+
- |
31+
if [ $(arch) == "ppc64le" ]; then
32+
go test -v -tags appengine
33+
else
34+
go test -race -v -tags appengine
35+
fi
2136
- "if [[ $TRAVIS_GO_VERSION == 1.11 ]]; then go vet ./...; fi"
2237
- "if [[ $TRAVIS_GO_VERSION == 1.11 ]]; then golint .; fi"
2338

0 commit comments

Comments
 (0)