1 # Use something that's not 'ruby' so we don't set up things like
2 # RVM/bundler/ruby and whatnot. Right now 'rust' as a language actually
3 # downloads a rust/cargo snapshot, which we don't really want for building rust.
6 # Make sure we've got an up-to-date g++ compiler to get past the LLVM configure
9 - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
10 - sudo apt-get update -qq
11 - sudo apt-get install g++-4.7
13 # The test suite is in general way too stressful for travis, especially in
14 # terms of time limit and reliability. In the past we've tried to scale things
15 # back to only build the stage1 compiler and run a subset of tests, but this
16 # didn't end up panning out very well.
18 # As a result, we're just using travis to run `make tidy` now. It'll help
19 # everyone find out about their trailing spaces early on!
21 - ./configure --llvm-root=`pwd`/local-llvm