2017-07-25 18:48:23 +00:00
|
|
|
language: go
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
go:
|
2017-08-11 16:36:28 +00:00
|
|
|
- 1.8
|
2017-08-08 08:12:00 +00:00
|
|
|
- 1.9rc1
|
2017-07-25 18:48:23 +00:00
|
|
|
|
|
|
|
before_install:
|
|
|
|
- echo $PATH
|
|
|
|
- export PATH=`echo $PATH | sed -e 's/:\/usr\/local\/clang-3.5.0\/bin//'`
|
2018-03-06 17:13:06 +00:00
|
|
|
- wget http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libstdc++6_5.4.0-6ubuntu1~16.04.9_amd64.deb
|
2017-07-25 18:48:23 +00:00
|
|
|
- mkdir ./libc
|
2018-03-06 17:13:06 +00:00
|
|
|
- dpkg-deb -x ./libstdc++6_5.4.0-6ubuntu1~16.04.9_amd64.deb ./libc
|
2017-07-25 18:48:23 +00:00
|
|
|
- export LD_LIBRARY_PATH=`pwd`/libc/usr/lib/x86_64-linux-gnu/
|
|
|
|
- wget http://releases.llvm.org/4.0.1/clang+llvm-4.0.1-x86_64-linux-gnu-debian8.tar.xz
|
|
|
|
- tar -xf ./clang+llvm-4.0.1-x86_64-linux-gnu-debian8.tar.xz
|
|
|
|
- sudo cp clang+llvm-4.0.1-x86_64-linux-gnu-debian8/bin/clang-format /usr/local/bin/
|
|
|
|
- which clang-format
|
|
|
|
- clang-format --version
|
2017-09-20 13:30:01 +00:00
|
|
|
- sudo apt-get install -y -q libc6-dev-i386 lib32stdc++-4.8-dev linux-libc-dev g++-aarch64-linux-gnu g++-powerpc64le-linux-gnu g++-arm-linux-gnueabihf
|
2017-07-25 18:48:23 +00:00
|
|
|
|
|
|
|
install: true
|
|
|
|
|
|
|
|
script:
|
|
|
|
- make presubmit
|
|
|
|
|
|
|
|
# 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
|