.travis.yml 936 字节
Newer Older
1
# Use something that's not 'ruby' so we don't set up things like
2 3
# RVM/bundler/ruby and whatnot. Right now 'rust' as a language actually
# downloads a rust/cargo snapshot, which we don't really want for building rust.
4
language: c
5
sudo: false
6

7 8 9 10
# The test suite is in general way too stressful for travis, especially in
# terms of time limit and reliability. In the past we've tried to scale things
# back to only build the stage1 compiler and run a subset of tests, but this
# didn't end up panning out very well.
11
#
12 13
# As a result, we're just using travis to run `make tidy` now. It'll help
# everyone find out about their trailing spaces early on!
14
before_script:
A
Alex Crichton 已提交
15
  - ./configure --llvm-root=path/to/nowhere
16 17
script:
  - make tidy
18

M
Matthew Astley 已提交
19 20 21 22 23
# Real testing happens on http://buildbot.rust-lang.org/
#
# See https://github.com/rust-lang/rust-buildbot
#     CONTRIBUTING.md#pull-requests

24 25 26 27 28 29
notifications:
  email: false

branches:
  only:
    - master