-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
38 lines (38 loc) · 1.67 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
language: rust
cache: cargo
rust:
- stable
- beta
- nightly
notifications:
email:
on_success: change
on_failure: always
matrix:
allow_failures:
- rust: nightly
before_script:
- |
pip install 'travis-cargo<0.2' --user &&
export PATH=$HOME/.local/bin:$PATH
script:
- |
travis-cargo build &&
travis-cargo test &&
travis-cargo bench &&
travis-cargo --only stable doc
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- libbfd-dev
after_success:
- travis-cargo --only stable doc-upload
- if [[ "$TRAVIS_RUST_VERSION" == "stable" ]]; then travis-cargo coveralls --no-sudo --verify; fi
- if [[ "$TRAVIS_RUST_VERSION" == "stable" ]]; then cargo test --no-run && ./kcov/build/src/kcov --verify --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo target/kcov $(find target/debug -maxdepth 1 -type f -name "xxcalc-*" -exec ls -la "{}" \; | sort -nk 5 | tail -1 | tr ' ' '\n' | tail -1); fi
env:
global:
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
- secure: YamtDBIVBK6jFwFaIAj2jpXj475DjA7LA+FlS/k4l0dupaJI+k8ZaayYpw899iMwYPFD+yzgfu3wLIB8IfD5FB3779CrFtT+ZnvX5da8SoFe/tBDyFC2Ys1JNRDllSU8fZwZlFH9ruKKC0WTl/JHMAB31WY/2Ba4Lpu1VtAy5/f7aT1BNEWij6T5EQ9vK1dMCg4X3MHRdHo+czrbpD7zK61z9XVz92lXuShe0aN/5OaDMd3uai4zgXCfJs3XTX9ZZQ/wh7/obVKhtmspSnxLbg0/bknrJVePjYA1/5Ps5fMAEDLMi9bMIXhkTt8RFJmi0BHxQFyBFdTOCAlo9GbkzXfDxSmtg1+DkAxuNRULJsMXHx+b05ry9K1AcJoXJmRmKtEehc/L+wPSnyGlxJMWC3VqttzRyspYXtHO5iVHjA8OOyP8hiSvsUNCyR+r1GWvnWGB8UE3gudTmSsZXveBxApUOC8t86vs/M2HQBKfqnLhnqBWrFoW4y5ivZJZ0WghgxVAtl1eGN70bg5j2UjMYeAZEFzY+oWdkA+4A5RvtUkB7gUwLkpJny4GImf62FYLESjO+pgnZ4eMbhLWlgJBVjJuhH41p3jiDYSlK+CSZVG7LFJ1xoAwROfO8ZDM3aHvr3xDoXFKhrdwZdVjIbQj5PZylZT8cB1VchGbDfcL06Y=