2014-02-20 17:37:44 -06:00
|
|
|
# Use something that's not 'ruby' so we don't set up things like
|
2014-10-02 15:50:43 -05:00
|
|
|
# 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.
|
2014-02-20 17:37:44 -06:00
|
|
|
language: c
|
|
|
|
|
2014-10-02 15:50:43 -05:00
|
|
|
# Make sure we've got an up-to-date g++ compiler to get past the LLVM configure
|
|
|
|
# script.
|
2014-02-20 17:37:44 -06:00
|
|
|
install:
|
2014-10-02 15:50:43 -05:00
|
|
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
2014-03-05 23:17:15 -06:00
|
|
|
- sudo apt-get update -qq
|
2014-10-02 15:50:43 -05:00
|
|
|
- sudo apt-get install g++-4.7
|
2014-02-20 17:37:44 -06:00
|
|
|
|
2014-10-02 15:50:43 -05:00
|
|
|
# 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.
|
2014-02-20 17:37:44 -06:00
|
|
|
#
|
2014-10-02 15:50:43 -05:00
|
|
|
# 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!
|
2014-02-20 17:37:44 -06:00
|
|
|
before_script:
|
2014-10-02 15:50:43 -05:00
|
|
|
- ./configure
|
|
|
|
script:
|
|
|
|
- make tidy
|
2014-03-05 23:17:15 -06:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|