1
0
mirror of https://github.com/bspeice/aeron-rs synced 2024-12-21 21:38:09 -05:00
aeron-rs/.travis.yml

42 lines
725 B
YAML
Raw Normal View History

2019-09-19 22:33:59 -04:00
language: rust
jobs:
include:
- rust: stable
os: linux
2020-01-12 20:58:31 -05:00
- rust: 1.34.0
os: linux
- rust: stable
os: osx
- rust: stable-msvc
os: windows
2019-09-19 22:33:59 -04:00
cache:
- cargo
before_script:
- rustup show
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
- rustup component add clippy
- rustup component add rustfmt
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