-
Notifications
You must be signed in to change notification settings - Fork 35
/
.travis.yml
49 lines (39 loc) · 1021 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
44
45
46
47
48
49
language: go
go_import_path: go-hep.org/x/hep
os:
- linux
dist: bionic
env:
global:
- ROOT_VERSION=6.22.02
- EGL_PLATFORM=x11
cache:
directories:
- $HOME/gopath/pkg/mod
- $HOME/root-${ROOT_VERSION}
git:
depth: 10
matrix:
fast_finish: true
include:
- go: main
env:
- TAGS="-tags=ci"
- COVERAGE="-race"
- GOPROXY="https://proxy.golang.org"
- GO111MODULE="on"
sudo: required
notifications:
email:
on_success: always
on_failure: always
before_install:
- sudo apt-get install -qq pkg-config libwayland-dev libx11-dev libx11-xcb-dev libxkbcommon-dev libxkbcommon-x11-dev libgles2-mesa-dev libegl1-mesa-dev libffi-dev libxcursor-dev
before_script:
- go run ./ci/install-cxx-root.go -root-version=${ROOT_VERSION} -o=${HOME}
- source $HOME/root-${ROOT_VERSION}/bin/thisroot.sh
- root.exe --version
script:
- GOARCH=386 go install -v $TAGS,cross_compile ./...
- GOARCH=amd64 go install -v $TAGS ./...
- go run ./ci/run-tests.go -v $TAGS $COVERAGE