mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-27 05:10:43 +00:00
0a8d1a965a
* travis: cache clang-format installation * travis: indent * travis: use user paths for caching * travis: cache go build results * travis: use system clang-format * travis: remove custom libstdc++ installation Fixes #1252
34 lines
834 B
YAML
34 lines
834 B
YAML
language: go
|
|
dist: xenial
|
|
|
|
go:
|
|
- "1.11"
|
|
- "1.12"
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.cache/go-build
|
|
- $HOME/gopath/pkg/mod
|
|
|
|
before_install:
|
|
# xenial packages are broken and do no allow to cross-compile for both 386 and arm.
|
|
# 386 requires gcc-multilib installed and arm requires gcc-arm-linux-gnueabi,
|
|
# but these packages are conflicting. This is a hacky way to install 386 headers.
|
|
- sudo dpkg --add-architecture i386
|
|
- sudo apt-get update
|
|
- sudo apt-get install -y -q linux-libc-dev:i386 lib32gcc-5-dev lib32stdc++-5-dev
|
|
|
|
install: true
|
|
|
|
script:
|
|
- make install_prerequisites
|
|
- make presubmit
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
|
|
# If the build fails because some code in not formatted, it's nice to see the diffs after formatting.
|
|
after_failure:
|
|
- git diff --name-only
|
|
- git diff
|