qrcode-rust/.travis.yml

46 lines
1.0 KiB
YAML
Raw Normal View History

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
2020-02-23 14:52:11 +00:00
rust: 1.34.2
2017-11-02 22:15:01 +00:00
- os: linux
rust: stable
2017-11-02 22:15:01 +00:00
- os: osx
rust: stable
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
- 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
after_success:
2019-04-18 19:34:20 +00:00
- >
if [ "$TRAVIS_OS_NAME" = 'linux' ]; then
2019-04-18 19:34:20 +00:00
cargo install cargo-kcov &&
( cargo kcov --print-install-kcov-sh | bash ) &&
cargo kcov --coveralls
fi
2016-06-04 16:27:39 +00:00