Skip to content

Commit 3267ae8

Browse files
shepmasterdylanmckay
authored andcommitted
[AVR][No Upstream] Add AVR-Rust specific travis-ci manifest
1 parent a28ee4d commit 3267ae8

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.travis.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
language: generic
2+
sudo: required
3+
services:
4+
- docker
5+
6+
# LLVM takes awhile to check out and otherwise we'll manage the submodules in
7+
# our configure script, so disable auto submodule management.
8+
git:
9+
submodules: false
10+
depth: 1
11+
12+
env:
13+
- CXX=/usr/bin/g++-4.7 RUST_BACKTRACE=1
14+
15+
before_install:
16+
- docker build -t rust -f src/etc/Dockerfile src/etc
17+
18+
script:
19+
- docker run -v `pwd`:/build rust
20+
sh -c "
21+
./configure --enable-rustbuild --llvm-root=/usr/lib/llvm-3.7 --enable-quiet-tests &&
22+
make tidy &&
23+
make check -j4
24+
"
25+
26+
# Real testing happens on http://buildbot.rust-lang.org/
27+
#
28+
# See https://github.com/rust-lang/rust-buildbot
29+
# CONTRIBUTING.md#pull-requests
30+
31+
notifications:
32+
email: false

0 commit comments

Comments
 (0)