From 27f9a03617b9259c9ae21f19decad6ed4adb3256 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Sun, 12 Jan 2020 20:10:56 -0500 Subject: [PATCH] Attempt to use the job matrix instead of re-installing in Windows --- .travis.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index ef0a55a..0984a79 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,13 @@ language: rust -rust: - - stable -os: - - linux - - osx - - windows + +jobs: + include: + - rust: stable + os: linux + - rust: stable + os: osx + - rust: stable-msvc + os: windows cache: - cargo @@ -13,9 +16,6 @@ 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 - # 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 rustfmt