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