2017-06-29 21:25:20 +02:00
|
|
|
language: go
|
|
|
|
|
2018-06-04 22:37:03 +02:00
|
|
|
compiler:
|
|
|
|
- clang
|
2017-06-29 21:25:20 +02:00
|
|
|
|
|
|
|
go:
|
2018-02-06 00:59:25 +01:00
|
|
|
- 1.9.x
|
2017-06-29 21:25:20 +02:00
|
|
|
|
2018-06-04 22:37:03 +02:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
- os: osx
|
|
|
|
osx_image: xcode9.3
|
|
|
|
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- llvm-3.8
|
|
|
|
- clang-3.8
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- export GLLVM_SRC=`pwd`
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
|
|
|
- ${GLLVM_SRC}/.travis/install_llvm.sh
|
2018-06-22 16:17:17 +02:00
|
|
|
- export PATH="/usr/local/opt/llvm/bin:$PATH"
|
2018-06-22 16:04:04 +02:00
|
|
|
# - export PATH="/usr/local/opt/llvm_lite/bin:$PATH"
|
2018-02-06 01:27:58 +01:00
|
|
|
|
2017-06-29 21:25:20 +02:00
|
|
|
|
|
|
|
script:
|
2018-06-04 22:37:03 +02:00
|
|
|
- go get -t -v ./...
|
2017-06-29 21:25:20 +02:00
|
|
|
- ./.travis/test.sh
|
2018-06-05 18:38:59 +02:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./.travis/musllvm.sh ; fi
|