forked from sql-machine-learning/gohive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
21 lines (18 loc) · 813 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language: go
branches:
only:
- /.*/
service:
- docker
script:
# Please be aware that here we use the prebuilt Docker image
# sqlflow/gohive:dev automatically built by DockerHub from
# docker/Dockerfile in this repo. The reason that we don't rebuild
# this image for every PR is that it takes a long time to build --
# especially the downloading of Hadoop and Hive. Using this
# prebuilt image for CI requires that if, in any PR, we want to
# change the Docker image, we'd have to split that PR into two --
# one changing the Docker image, which must be merged before the
# other one that changes the source code to be CI'ed with the
# updated Docker image.
- docker run --rm -v $GOPATH:/go -w /go/src/github.com/sql-machine-learning/gohive sqlflow/gohive:dev /build_and_test.bash