mirror of
https://github.com/bspeice/aeron-rs
synced 2025-01-02 02:59:33 -05:00
Attempt to use the job matrix instead of re-installing in Windows
This commit is contained in:
parent
b23d08a084
commit
27f9a03617
18
.travis.yml
18
.travis.yml
@ -1,10 +1,13 @@
|
|||||||
language: rust
|
language: rust
|
||||||
rust:
|
|
||||||
- stable
|
jobs:
|
||||||
os:
|
include:
|
||||||
- linux
|
- rust: stable
|
||||||
- osx
|
os: linux
|
||||||
- windows
|
- rust: stable
|
||||||
|
os: osx
|
||||||
|
- rust: stable-msvc
|
||||||
|
os: windows
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
- cargo
|
- cargo
|
||||||
@ -13,9 +16,6 @@ before_script:
|
|||||||
- rustup show
|
- rustup show
|
||||||
# CMake doesn't like the `sh.exe` provided by Git being in PATH
|
# 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
|
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then rm "C:/Program Files/Git/usr/bin/sh.exe"; fi
|
||||||
# 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
|
|
||||||
- rustup component add clippy
|
- rustup component add clippy
|
||||||
- rustup component add rustfmt
|
- rustup component add rustfmt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user