2014-08-18 21:10:50 +00:00
|
|
|
language: rust
|
2016-05-14 15:43:38 +00:00
|
|
|
|
2017-05-22 12:32:13 +00:00
|
|
|
sudo: false
|
|
|
|
dist: trusty
|
2016-05-14 15:43:38 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libcurl4-openssl-dev
|
|
|
|
- libelf-dev
|
|
|
|
- libdw-dev
|
|
|
|
- binutils-dev
|
2017-05-22 12:32:13 +00:00
|
|
|
- libiberty-dev
|
2016-05-14 15:43:38 +00:00
|
|
|
- gcc-multilib
|
|
|
|
|
2017-11-02 22:15:01 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
2017-11-07 08:23:50 +00:00
|
|
|
rust: 1.20.0
|
2017-11-02 22:15:01 +00:00
|
|
|
- os: linux
|
2018-05-05 14:43:15 +00:00
|
|
|
rust: 1.25.0
|
2017-11-02 22:15:01 +00:00
|
|
|
- os: osx
|
2018-05-05 14:43:15 +00:00
|
|
|
rust: 1.25.0
|
2017-11-02 22:15:01 +00:00
|
|
|
- os: linux
|
|
|
|
rust: beta
|
|
|
|
- os: linux
|
|
|
|
rust: nightly
|
2016-05-14 15:43:38 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
- if [ "$TRAVIS_OS_NAME" = 'linux' ]; then OS=unknown-linux-gnu; else OS=apple-darwin; fi
|
2017-05-22 12:32:13 +00:00
|
|
|
- rustup target add i686-$OS
|
2016-05-14 15:43:38 +00:00
|
|
|
|
|
|
|
script:
|
2017-05-18 13:35:01 +00:00
|
|
|
- cargo test --no-default-features
|
|
|
|
- cargo test
|
2018-05-05 14:50:01 +00:00
|
|
|
- if [ "$TRAVIS_RUST_VERSION" = 'nightly' ]; then cargo test --features bench && cargo bench --features bench; fi
|
2017-05-22 12:32:13 +00:00
|
|
|
- cargo test --target i686-$OS
|
2015-01-01 12:33:11 +00:00
|
|
|
|
2015-07-04 19:29:28 +00:00
|
|
|
after_success:
|
2016-06-04 16:27:39 +00:00
|
|
|
- cargo install cargo-kcov
|
|
|
|
- cargo kcov --print-install-kcov-sh | bash
|
2017-05-22 12:32:13 +00:00
|
|
|
- cargo kcov --coveralls
|
2016-06-04 16:27:39 +00:00
|
|
|
|