mirror of
https://github.com/danog/gllvm.git
synced 2024-11-26 19:34:49 +01:00
37 lines
755 B
YAML
37 lines
755 B
YAML
language: go
|
|
|
|
compiler:
|
|
- clang
|
|
|
|
go:
|
|
- 1.9.x
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
dist: trusty
|
|
sudo: required
|
|
# brew install llvm no longer works... can I be bothered fixing it?
|
|
# - 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
|
|
- export PATH="/usr/local/opt/llvm/bin:$PATH"
|
|
# if we have to use our own bottle again.
|
|
# - export PATH="/usr/local/opt/llvm_lite/bin:$PATH"
|
|
|
|
|
|
script:
|
|
- go get -t -v ./...
|
|
- ./.travis/test.sh
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./.travis/musllvm.sh ; fi |