gllvm/.travis.yml

37 lines
755 B
YAML
Raw Normal View History

language: go
2018-06-04 22:37:03 +02:00
compiler:
- clang
go:
2018-02-06 00:59:25 +01:00
- 1.9.x
2018-06-04 22:37:03 +02:00
matrix:
include:
- os: linux
dist: trusty
sudo: required
# brew install llvm no longer works... can I be bothered fixing it?
2020-07-13 22:28:22 +02:00
# - os: osx
# osx_image: xcode9.3
2018-06-04 22:37:03 +02:00
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"
# if we have to use our own bottle again.
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
script:
2018-06-04 22:37:03 +02:00
- go get -t -v ./...
- ./.travis/test.sh
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./.travis/musllvm.sh ; fi