9ac804ecab
Instead, only run `make tidy`. The tidy script can run quite quickly, and it's super annoying to run tests for 50 minutes only to have bors fail with a "trailing whitespace" error.
35 lines
1.0 KiB
YAML
35 lines
1.0 KiB
YAML
# Use something that's not 'ruby' so we don't set up things like
|
|
# 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.
|
|
language: c
|
|
|
|
# Make sure we've got an up-to-date g++ compiler to get past the LLVM configure
|
|
# script.
|
|
install:
|
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install g++-4.7
|
|
|
|
# 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.
|
|
#
|
|
# 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!
|
|
before_script:
|
|
- ./configure --llvm-root=`pwd`/local-llvm
|
|
script:
|
|
- make tidy
|
|
|
|
notifications:
|
|
email: false
|
|
|
|
env:
|
|
global:
|
|
- LLVM_VERSION=3.4
|
|
|
|
branches:
|
|
only:
|
|
- master
|