]> git.lizzy.rs Git - rust.git/blob - .travis.yml
target_family configuration
[rust.git] / .travis.yml
1 language: generic
2 sudo: required
3 dist: trusty
4
5 # LLVM takes awhile to check out and otherwise we'll manage the submodules in
6 # our configure script, so disable auto submodule management.
7 git:
8   submodules: false
9
10 before_install:
11   - echo 0 | sudo tee /proc/sys/net/ipv6/conf/lo/disable_ipv6
12   - echo 'deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.7 main' | sudo tee -a /etc/apt/sources.list
13   - echo 'deb-src http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.7 main' | sudo tee -a /etc/apt/sources.list
14   - sudo apt-get update
15   - sudo apt-get --force-yes install curl make g++ python2.7 git zlib1g-dev libedit-dev llvm-3.7-tools
16
17 script:
18   - ./configure --llvm-root=/usr/lib/llvm-3.7
19   - make tidy && make check-notidy -j4
20
21 # Real testing happens on http://buildbot.rust-lang.org/
22 #
23 # See https://github.com/rust-lang/rust-buildbot
24 #     CONTRIBUTING.md#pull-requests
25
26 notifications:
27   email: false
28
29 branches:
30   only:
31     - master