2014-02-21 00:37:44 +01:00
|
|
|
language: c
|
2015-09-18 19:19:23 +02:00
|
|
|
sudo: required
|
|
|
|
services:
|
|
|
|
- docker
|
2014-02-21 00:37:44 +01:00
|
|
|
|
2015-09-18 19:19:23 +02: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 02:29:01 +02:00
|
|
|
|
2015-09-18 19:19:23 +02:00
|
|
|
before_install:
|
|
|
|
- docker build -t rust -f src/etc/Dockerfile src/etc
|
|
|
|
script:
|
|
|
|
- docker run --privileged -tv `pwd`:/build rust
|
|
|
|
sh -c "
|
|
|
|
./configure --llvm-root=/usr/lib/llvm-3.7 &&
|
|
|
|
make tidy &&
|
|
|
|
make check -j4
|
|
|
|
"
|
2014-03-06 06:17:15 +01:00
|
|
|
|
2015-06-11 11:26:19 +02: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 06:17:15 +01:00
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|