forked from iliekturtles/uom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (33 loc) · 868 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
language: rust
cache: cargo
sudo: false
# Dependencies of kcov, used by coverage
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev
- cmake
sources:
- kalakris-cmake
rust:
- stable
- beta
- nightly
- 1.15.0
matrix:
allow_failures:
- rust: nightly
before_script: |
(test -x /home/travis/.cargo/bin/cargo-coveralls || cargo install cargo-travis) ||
(test $(grep "cargo-travis" /home/travis/.cargo/.crates.toml | sed -r "s/\"cargo-travis ([^\ ]+).+/\1/") = $(cargo search cargo-travis --limit 1 | sed -r "s/cargo-travis \(([^\)]+)\).+/\1/") || cargoo install cargo-travis --force)
script: |
cargo build --verbose &&
cargo test --verbose
after_success: |
test "$TRAVIS_RUST_VERSION" != "stable" || cargo coveralls
notifications:
email:
on_success: never