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