just run cargo test

master
Paul Woolcock 6 years ago
parent a05f4ecb9b
commit 98718ac4b8
  1. 5
      .travis.yml

@ -4,7 +4,7 @@ dist: trusty
addons: addons:
apt: apt:
packages: packages:
- libssl-dev libssl-dev
cache: cargo cache: cargo
env: env:
- ELEFREN_FEATURES="--features toml" - ELEFREN_FEATURES="--features toml"
@ -20,8 +20,7 @@ before_script:
script: script:
- | - |
if [[ "$TRAVIS_RUST_VERSION" == "nightly"* ]]; then cargo fmt --all -- --check; fi if [[ "$TRAVIS_RUST_VERSION" == "nightly"* ]]; then cargo fmt --all -- --check; fi
- cargo clean && cargo build $ELEFREN_FEATURES - cargo test $ELEFREN_FEATURES
- cargo clean && cargo test --features all
after_success: | after_success: |
if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin

Loading…
Cancel
Save