From 8b8acd5f4b1759410a9a82612b05becbd071b4a9 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Sun, 12 Jan 2020 19:33:04 -0500 Subject: [PATCH] Set Rust runtime to MSVC on Windows --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6e43d12..62dfca2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,8 +15,11 @@ before_script: - rustup update - rustup component add clippy - rustup component add rustfmt - # CMake doesn't like `sh.exe` being on the 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 + # 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 script: - cargo clippy --all