rust/.travis.yml

34 lines
684 B
YAML
Raw Normal View History

2015-10-19 01:37:14 +00:00
language: generic
sudo: required
2016-06-01 15:14:22 +00:00
services:
- docker
# 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 09:48:43 +00:00
depth: 1
before_install:
2016-06-01 15:14:22 +00:00
- docker build -t rust -f src/etc/Dockerfile src/etc
2015-10-19 01:37:14 +00:00
script:
2016-06-01 15:14:22 +00:00
- docker run -v `pwd`:/build rust
sh -c "
2016-08-31 23:10:24 +00:00
./configure --enable-rustbuild --llvm-root=/usr/lib/llvm-3.7 &&
2016-06-01 15:14:22 +00:00
make tidy &&
2016-08-31 23:10:24 +00:00
make check -j4
2016-06-01 15:14:22 +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
notifications:
email: false
branches:
only:
- master