aeron-rs/.travis.yml

42 lines
904 B
YAML
Raw Normal View History

2019-09-19 22:33:59 -04:00
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
2020-01-12 19:33:04 -05:00
# 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
2020-01-12 19:33:04 -05:00
# MinGW doesn't implement the `poll` functions we need, so default to MSVC
# TODO: Attempt compilation with MSYS on Travis
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then rustup default stable-x86_64-pc-windows-msvc; fi
2019-09-19 22:33:59 -04:00
script:
- cargo clippy --all
- cargo fmt --all -- --check
2019-10-07 22:17:14 -04:00
- cargo test --no-run
2019-09-19 22:33:59 -04:00
- cargo test
2019-10-07 22:17:14 -04:00
- cargo test --release --no-run
2019-09-19 22:33:59 -04:00
- cargo test --release
- cd aeron-driver-sys/
2019-10-07 22:17:14 -04:00
- cargo test --features "static"
2019-10-07 19:26:33 -04:00
2019-10-07 22:57:27 -04:00
branches:
only:
- master
- staging
- trying