2015-10-19 01:37:14 +00:00
|
|
|
language: generic
|
2015-09-18 17:19:23 +00:00
|
|
|
sudo: required
|
2015-10-19 01:37:14 +00:00
|
|
|
dist: trusty
|
2014-02-20 23:37:44 +00:00
|
|
|
|
2015-09-18 17:19:23 +00:00
|
|
|
# LLVM takes awhile to check out and otherwise we'll manage the submodules in
|
|
|
|
# our configure script, so disable auto submodule management.
|
|
|
|
git:
|
|
|
|
submodules: false
|
2015-07-14 00:29:01 +00:00
|
|
|
|
2015-09-18 17:19:23 +00:00
|
|
|
before_install:
|
2015-10-19 01:37:14 +00:00
|
|
|
- echo 0 | sudo tee /proc/sys/net/ipv6/conf/lo/disable_ipv6
|
|
|
|
- echo 'deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.7 main' | sudo tee -a /etc/apt/sources.list
|
|
|
|
- echo 'deb-src http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.7 main' | sudo tee -a /etc/apt/sources.list
|
|
|
|
- sudo apt-get update
|
|
|
|
- sudo apt-get --force-yes install curl make g++ python2.7 git zlib1g-dev libedit-dev llvm-3.7-tools
|
|
|
|
|
2015-09-18 17:19:23 +00:00
|
|
|
script:
|
2015-10-19 01:37:14 +00:00
|
|
|
- ./configure --llvm-root=/usr/lib/llvm-3.7
|
|
|
|
- make tidy && make check-notidy -j4
|
2014-03-06 05:17:15 +00:00
|
|
|
|
2015-06-11 09:26:19 +00:00
|
|
|
# Real testing happens on http://buildbot.rust-lang.org/
|
|
|
|
#
|
|
|
|
# See https://github.com/rust-lang/rust-buildbot
|
|
|
|
# CONTRIBUTING.md#pull-requests
|
|
|
|
|
2014-03-06 05:17:15 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|