forked from biscuit-auth/biscuit-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (50 loc) · 1.23 KB
/
.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
language: rust
dist: trusty
cache: cargo
rust:
- nightly
- beta
- stable
before_script:
- eval git pull --rebase https://github.com/clevercloud/biscuit-rust master
- eval git log --pretty=oneline HEAD~5..HEAD
matrix:
include:
- rust: nightly
before_script:
- export PATH=$HOME/.cargo/bin:$PATH
- cargo install cargo-update || echo "cargo-update already installed"
- cargo install cargo-travis || echo "cargo-travis already installed"
- cargo install cargo-benchcmp || echo "cargo-benchcmp already installed"
- cargo install-update -a
- rust: nightly
script:
- eval cargo test --no-default-features
script:
- eval cargo build --verbose
- eval cargo test --verbose
after_success: |
case "$TRAVIS_RUST_VERSION" in
nightly)
cargo bench --verbose
cargo coveralls --verbose
cargo bench --verbose
;;
*)
;;
esac
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev
- cmake
sources:
- kalakris-cmake
cache:
directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry