diff --git a/.travis.yml b/.travis.yml index 1008e3d..0f0e5e7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ rust: nightly-2018-12-06 os: - linux - osx + - windows matrix: include: @@ -12,6 +13,8 @@ matrix: rustup component add rustfmt script: cargo fmt --all -- --check + allow_failures: + - os: windows before_install: - | @@ -30,7 +33,7 @@ install: script: - make - cargo build --features use_semihosting - - make bloat + - "[[ ${TRAVIS_OS_NAME} != 'windows' ]] && make bloat" cache: cargo: true diff --git a/scripts/install.sh b/scripts/install.sh index 9a7032e..5e762db 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -5,6 +5,8 @@ set -eux main() { which cargo-bloat || (cd /; cargo install cargo-bloat) which cargo-objcopy || (cd /; cargo install cargo-binutils) + # For Travis CI on Windows + which make || choco install make python2 } main