bottom/.travis.yml
2019-12-30 19:40:45 -05:00

34 lines
683 B
YAML

language: rust
rust:
- stable
- beta
- nightly
os:
- windows
- osx
- linux
env:
- RUST_BACKTRACE=1
jobs:
allow_failures:
- rust: nightly
script:
- cargo build --verbose --all
#- cargo test --verbose --all
# Need to cache the whole `.cargo` directory to keep .crates.toml for
# cargo-update to work
cache:
directories:
- /home/travis/.cargo
# But don't cache the cargo registry
# and remove wasm-pack binary to avoid the installer asking confirmation for overwriting it.
before_cache:
- rm -rf /home/travis/.cargo/git
- rm -rf /home/travis/.cargo/registry
- rm -rf /home/travis/.cargo/bin/wasm-pack
notifications:
email:
on_success: never