forked from gonum/gonum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
94 lines (76 loc) · 1.57 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
sudo: false
language: go
# Do not move these lines; they are referred to by README.md.
# Versions of go that are explicitly supported by Gonum, plus Go tip.
go:
- 1.14.x
- 1.13.x
- master
os:
- linux
- osx
- windows
arch:
- amd64
- arm64
env:
global:
- GO111MODULE=on
- GOFLAGS="-mod=readonly"
matrix:
- TAGS=""
- TAGS="-tags bounds"
- TAGS="-tags noasm"
- TAGS="-tags appengine"
cache:
directories:
- $HOME/.cache/go-build
- $HOME/gopath/pkg/mod
git:
depth: 1
autocrlf: input
matrix:
fast_finish: true
exclude:
- os: linux
arch: arm64
env: TAGS="-tags bounds"
- os: linux
arch: arm64
env: TAGS="-tags noasm"
- os: linux
arch: arm64
env: TAGS="-tags appengine"
- os: osx
env: TAGS="-tags bounds"
- os: osx
env: TAGS="-tags noasm"
- os: osx
env: TAGS="-tags appengine"
- os: osx
arch: arm64
- os: osx
go: master
- os: windows
env: TAGS="-tags bounds"
- os: windows
env: TAGS="-tags noasm"
- os: windows
env: TAGS="-tags appengine"
- os: windows
arch: arm64
- os: windows
go: master
allow_failures:
- go: master
before_install:
- ${TRAVIS_BUILD_DIR}/.travis/run-parts ${TRAVIS_BUILD_DIR}/.travis/deps.d/${TRAVIS_OS_NAME}
addons:
apt:
packages:
- graphviz
go_import_path: gonum.org/v1/gonum
# Get deps, build, test, and ensure the code is gofmt'ed.
# If we are building as gonum, then we have access to the coveralls api key, so we can run coverage as well.
script:
- ${TRAVIS_BUILD_DIR}/.travis/run-parts ${TRAVIS_BUILD_DIR}/.travis/run.d/${TRAVIS_OS_NAME}