qrcode-rust/.travis.yml

43 lines
956 B
YAML
Raw Normal View History

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
2017-11-02 17:15:01 -05:00
matrix:
include:
- os: linux
rust: 1.26.2
2017-11-02 17:15:01 -05:00
- os: linux
rust: stable
2017-11-02 17:15:01 -05:00
- os: osx
rust: stable
2017-11-02 17:15:01 -05:00
- os: linux
rust: beta
- os: linux
rust: nightly
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
- if [ "$TRAVIS_RUST_VERSION" = 'nightly' ]; then cargo test --features bench && 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
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