2015-10-18 20:37:14 -05:00
|
|
|
language: generic
|
2015-09-18 12:19:23 -05:00
|
|
|
sudo: required
|
2016-06-01 10:14:22 -05:00
|
|
|
services:
|
|
|
|
- docker
|
2014-02-20 17:37:44 -06:00
|
|
|
|
2015-09-18 12:19:23 -05: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
|
2016-07-28 04:48:43 -05:00
|
|
|
depth: 1
|
2015-07-13 19:29:01 -05:00
|
|
|
|
2015-09-18 12:19:23 -05:00
|
|
|
before_install:
|
2016-06-01 10:14:22 -05:00
|
|
|
- docker build -t rust -f src/etc/Dockerfile src/etc
|
2015-10-18 20:37:14 -05:00
|
|
|
|
2015-09-18 12:19:23 -05:00
|
|
|
script:
|
2016-06-01 10:14:22 -05:00
|
|
|
- docker run -v `pwd`:/build rust
|
|
|
|
sh -c "
|
2016-11-01 15:46:38 -05:00
|
|
|
./configure --enable-vendor --enable-rustbuild --llvm-root=/usr/lib/llvm-3.7 --enable-quiet-tests &&
|
2016-06-01 10:14:22 -05:00
|
|
|
make tidy &&
|
2016-08-31 18:10:24 -05:00
|
|
|
make check -j4
|
2016-06-01 10:14:22 -05:00
|
|
|
"
|
2014-03-05 23:17:15 -06:00
|
|
|
|
2015-06-11 04:26:19 -05:00
|
|
|
# Real testing happens on http://buildbot.rust-lang.org/
|
|
|
|
#
|
|
|
|
# See https://github.com/rust-lang/rust-buildbot
|
|
|
|
# CONTRIBUTING.md#pull-requests
|
|
|
|
|
2014-03-05 23:17:15 -06:00
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|