forked from quickfixgo/quickfix
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
43 lines (37 loc) · 850 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
40
41
42
43
language: go
sudo: false
services:
- mongodb
go:
- 1.11.x
- 1.12.x
- 1.13
- tip
env:
global:
- GO111MODULE=on
- MONGODB_TEST_CXN=localhost
matrix:
- FIX_TEST=
- FIX_TEST=fix40
- FIX_TEST=fix41
- FIX_TEST=fix42
- FIX_TEST=fix43
- FIX_TEST=fix44
- FIX_TEST=fix50
- FIX_TEST=fix50sp1
- FIX_TEST=fix50sp2
matrix:
allow_failures:
- go: tip
fast_finish: true
exclude:
- go: 1.13.x
env: GO111MODULE=on
- go: tip
env: GO111MODULE=on
before_install:
- if [[ "${GO111MODULE}" = "on" ]]; then mkdir "${HOME}/go"; export GOPATH="${HOME}/go"; fi
- if [[ "${GO111MODULE}" = "on" ]]; then export PATH="${GOPATH}/bin:${GOROOT}/bin:${PATH}"; fi
- go mod download
script: make generate; if [ -z "$FIX_TEST" ]; then make build; make; else make build_accept; make $FIX_TEST; fi