39 lines
663 B
YAML
39 lines
663 B
YAML
language: rust
|
|
rust:
|
|
- stable
|
|
os:
|
|
- linux
|
|
- osx
|
|
- windows
|
|
|
|
cache:
|
|
- cargo
|
|
|
|
before_script:
|
|
- rustup show
|
|
- rustup set profile minimal
|
|
- rustup update
|
|
- rustup component add clippy
|
|
- rustup component add rustfmt
|
|
# CMake doesn't like `sh.exe` being on the PATH,
|
|
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then rm "C:/Program Files/Git/usr/bin/sh.exe"; fi
|
|
|
|
script:
|
|
- cargo clippy --all
|
|
- cargo fmt --all -- --check
|
|
|
|
- cargo test --no-run
|
|
- cargo test
|
|
- cargo test --release --no-run
|
|
- cargo test --release
|
|
|
|
- cd aeron-driver-sys/
|
|
- cargo test --features "static"
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- staging
|
|
- trying
|
|
|