|
|
@ -6,6 +6,10 @@ addons: |
|
|
|
packages: |
|
|
|
packages: |
|
|
|
- libssl-dev |
|
|
|
- libssl-dev |
|
|
|
cache: cargo |
|
|
|
cache: cargo |
|
|
|
|
|
|
|
env: |
|
|
|
|
|
|
|
- ELEFREN_FEATURES="--features toml" |
|
|
|
|
|
|
|
- ELEFREN_FEATURES="--features all" |
|
|
|
|
|
|
|
- ELEFREN_FEATURES="" |
|
|
|
rust: |
|
|
|
rust: |
|
|
|
- stable |
|
|
|
- stable |
|
|
|
- beta |
|
|
|
- beta |
|
|
@ -16,9 +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 |
|
|
|
- cargo clean && cargo build $ELEFREN_FEATURES |
|
|
|
- cargo clean && cargo build --features toml |
|
|
|
|
|
|
|
- cargo clean && cargo build --features all |
|
|
|
|
|
|
|
- cargo clean && cargo test --features all |
|
|
|
- cargo clean && cargo test --features all |
|
|
|
after_success: | |
|
|
|
after_success: | |
|
|
|
if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then |
|
|
|
if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then |
|
|
|