forked from go-zeromq/zmq4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (33 loc) · 894 Bytes
/
.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
go_import_path: github.com/go-zeromq/zmq4
sudo: true
language: go
go:
- 1.13.x
- 1.12.x
- 1.11.x
- master
os:
- linux
matrix:
fast_finish: true
allow_failures:
- go: master
env:
- TAGS="-tags czmq4" GO111MODULE="on"
before_script:
- curl http://download.opensuse.org/repositories/network:/messaging:/zeromq:/git-stable/xUbuntu_16.04/Release.key | sudo apt-key add -
- echo "deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/git-stable/xUbuntu_16.04/ ./" | sudo tee -a /etc/apt/sources.list > /dev/null
- sudo apt-get update -qq -y
- sudo apt-get install -y libsodium-dev libczmq-dev
script:
- go get -d -t -v $TAGS ./...
- go install -v $TAGS ./...
- ./.ci/code-coverage.sh
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
email:
recipients:
on_success: always
on_failure: always