diff --git a/.travis.yml b/.travis.yml index 9d6c7df..bc7070a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,11 +18,10 @@ os: rust: - 1.8.0 + - 1.9.0 - nightly env: - global: - - TRAVIS_CARGO_NIGHTLY_FEATURE=bench matrix: - ARCH=x86_64 - ARCH=i686 @@ -30,7 +29,8 @@ env: matrix: allow_failures: - env: ARCH=i686 - # FIXME: all i686 build panics with the message "Box", cause all `should_panic` tests to fail. + rust: 1.8.0 + # Note: on 1.8.0, all i686 build panics with the message "Box", cause all `should_panic` tests to fail. install: - if [ "$TRAVIS_OS_NAME" = 'linux' ]; then OS=unknown-linux-gnu; else OS=apple-darwin; fi @@ -43,13 +43,13 @@ install: mv "rust-$TRAVIS_RUST_VERSION-$HOST/rust-std-$HOST/lib/rustlib/$HOST" "$SYSROOT/lib/rustlib" fi -before_script: - - pip install 'travis-cargo<0.2' --user - - export PATH=$HOME/.local/bin:$HOME/Library/Python/2.7/bin:$PATH - script: - cargo test --target "$HOST" - - travis-cargo bench -- --target "$HOST" + - if [ "$TRAVIS_RUST_VERSION" = 'nightly' ]; then cargo bench --target "$HOST" --features bench; fi after_success: - - travis-cargo coveralls --no-sudo --verify + - export PATH=$HOME/.cargo/bin:$HOME/.local/bin:$PATH + - cargo install cargo-kcov + - cargo kcov --print-install-kcov-sh | bash + - cargo kcov --target "$HOST" --coveralls -- --verify + diff --git a/Cargo.toml b/Cargo.toml index 7162709..a8b40ec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "qrcode" description = "QR code encoder in Rust" license = "Apache-2.0" -version = "0.1.7" +version = "0.1.8" authors = ["kennytm "] keywords = ["qrcode"] repository = "https://github.com/kennytm/qrcode-rust"