1 # ccache support is disabled unless your language is a C-derivative. However
2 # `language: C` unconditionally sets `CC=compiler`. If we just set it in our
3 # `env` it will be overwritten by the default (gcc 4.6).
5 compiler: /usr/bin/gcc-4.7
9 # The test suite is in general way too stressful for travis, especially in
10 # terms of time limit and reliability. In the past we've tried to scale things
11 # back to only build the stage1 compiler and run a subset of tests, but this
12 # didn't end up panning out very well.
14 # As a result, we're just using travis to run `make tidy` and *only* build
15 # stage1 but *not* test it for now (a strict subset of the bootstrap). This will
16 # catch "obvious" errors like style or not even compiling.
18 # We need gcc4.7 or higher to build LLVM, and travis (well, Ubuntu 12.04)
19 # currently ships with 4.6. Gotta download our own.
21 - ./configure --enable-ccache
23 - make tidy && make check -j4
26 - CXX=/usr/bin/g++-4.7
31 - ubuntu-toolchain-r-test
36 # Real testing happens on http://buildbot.rust-lang.org/
38 # See https://github.com/rust-lang/rust-buildbot
39 # CONTRIBUTING.md#pull-requests