-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
49 lines (42 loc) · 1.36 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
language: go
sudo: true
dist: trusty
addons:
apt:
sources:
- sourceline: 'deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/git-stable/xUbuntu_14.04/ ./'
key_url: 'http://download.opensuse.org/repositories/network:/messaging:/zeromq:/git-stable/xUbuntu_14.04/Release.key'
packages:
- libzmq-dev
- libsodium-dev
go:
- "1.10"
- "1.11"
- "1.12"
go_import_path: github.com/caicloud/ciao
before_install:
# get coveralls.io support
- go get github.com/mattn/goveralls
- go get -u github.com/golang/dep/cmd/dep
- wget https://github.com/zeromq/libzmq/releases/download/v4.2.2/zeromq-4.2.2.tar.gz
- tar xvzf zeromq-4.2.2.tar.gz
- cd zeromq-4.2.2
- ./configure
- sudo make install
- sudo ldconfig
- cd - > /dev/null
install:
- dep ensure
- go build github.com/caicloud/ciao/cmd/kubeflow-kernel
script:
# We customize the build step because by default
# Travis runs go test -v ./... which will include the vendor
# directory.
# With go 1.9 vendor will be automatically excluded.
# For now though we just run all tests in pkg.
# And we can not use ** because goveralls uses filepath.Match
# to match ignore files and it does not support it.
- goveralls -service=travis-ci -v -package ./pkg/... -ignore "pkg/kernel/*.go"
notifications:
webhooks: https://www.travisbuddy.com/
on_success: never