os: Visual Studio 2015 branches: except: - gh-pages matrix: fast_finish: true environment: # The SDL2 that we keep on hand to link with is the MSVC version. Other than # that, this _should_ work with gnu, but also I don't care if it doesn't matrix: # Nightly 64-bit MSVC - channel: stable target: x86_64-pc-windows-msvc # Nightly 32-bit MSVC #- channel: stable # target: i686-pc-windows-msvc install: - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe - rustup-init -y --default-toolchain %channel% --default-host %target% - set PATH=%PATH%;%USERPROFILE%\.cargo\bin - rustc -vV - cargo -vV # On advice of retep we skip the "build" script phase build: false test_script: # We don't need any fancy stuff, just a plain build to confirm that we can # compile the plain versions that we'd ship to someone. - cargo build --no-default-features # we can't test with "cdylib" in the Cargo file. - rm Cargo.toml - mv Cargo-testing.toml Cargo.toml - cargo test --no-default-features