aeron-rs/.travis.yml

42 lines
725 B
YAML

language: rust
jobs:
include:
- rust: stable
os: linux
- rust: 1.34.0
os: linux
- rust: stable
os: osx
- rust: stable-msvc
os: windows
cache:
- cargo
before_script:
- rustup show
# CMake doesn't like the `sh.exe` provided by Git being in PATH
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then rm "C:/Program Files/Git/usr/bin/sh.exe"; fi
- rustup component add clippy
- rustup component add rustfmt
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