]> git.proxmox.com Git - cargo.git/blame - .travis.yml
Don't use .arg() in test.
[cargo.git] / .travis.yml
CommitLineData
d6871956 1language: rust
429a7822
AC
2rust: stable
3sudo: required
4dist: trusty
cfb69ad2 5
cf71ae0d
AC
6git:
7 depth: 1
8
d70a3b1e
MG
9# Using 'cache: cargo' to cache target/ and all of $HOME/.cargo/
10# doesn't work well: the cache is large and it takes several minutes
11# to move it to and from S3. So instead we only cache the mdbook
12# binary.
0971aac7
BE
13cache:
14 directories:
15 - $HOME/.cargo/bin/
16
96fafda8
AC
17matrix:
18 include:
429a7822
AC
19 - env: TARGET=x86_64-unknown-linux-gnu
20 ALT=i686-unknown-linux-gnu
429a7822
AC
21 - env: TARGET=x86_64-apple-darwin
22 ALT=i686-apple-darwin
429a7822 23 os: osx
429a7822 24
429a7822
AC
25 - env: TARGET=x86_64-unknown-linux-gnu
26 ALT=i686-unknown-linux-gnu
b1973ba1 27 rust: beta
50a46f47 28
429a7822
AC
29 - env: TARGET=x86_64-unknown-linux-gnu
30 ALT=i686-unknown-linux-gnu
3d858148 31 rust: nightly-2018-03-07
102ab97f 32 install:
0971aac7 33 - mdbook --help || cargo install mdbook --force
50a46f47
AC
34 script:
35 - cargo test
36 - cargo doc --no-deps
c933673e 37 - (cd src/doc && mdbook build --dest-dir ../../target/doc)
429a7822
AC
38
39 exclude:
40 - rust: stable
41
42before_script:
50a46f47 43 - rustup target add $ALT
429a7822 44script:
50a46f47 45 - cargo test
429a7822 46
429a7822
AC
47notifications:
48 email:
49 on_success: never
1271bb4d 50
50a46f47
AC
51addons:
52 apt:
53 packages:
54 - gcc-multilib