os:
- linux
- osx
+ - windows
sudo: false
+branches:
+ only:
+ # This is where pull requests from "bors r+" are built.
+ - staging
+ # This is where pull requests from "bors try" are built.
+ - trying
+ # Also build pull requests.
+ - master
+
env:
global:
- RUST_BACKTRACE=1
install:
- |
if [ -z ${INTEGRATION} ]; then
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
- npm install remark-cli remark-lint
+ if [ "$TRAVIS_OS_NAME" == "linux" ]; then
+ . $HOME/.nvm/nvm.sh
+ nvm install stable
+ nvm use stable
+ npm install remark-cli remark-lint
+ fi
+ if [ "$TRAVIS_OS_NAME" == "windows" ]; then
+ choco install windows-sdk-10.0
+ fi
fi
matrix:
env: BASE_TESTS=true
- os: linux
env: BASE_TESTS=true
+ - os: windows
+ env: BASE_TEST=true
- env: INTEGRATION=rust-lang/cargo
- env: INTEGRATION=rust-lang-nursery/rand
- env: INTEGRATION=rust-lang-nursery/stdsimd
- env: INTEGRATION=chronotope/chrono
- env: INTEGRATION=serde-rs/serde
- env: INTEGRATION=Geal/nom
- - env: INTEGRATION=hyperium/hyper
+# uncomment once https://github.com/rust-lang/rust/issues/55376 is fixed
+# - env: INTEGRATION=hyperium/hyper
+ allow_failures:
+ - os: windows
+ env: BASE_TEST=true
# prevent these jobs with default env vars
exclude:
- os: linux
- os: osx
+ - os: windows
script:
- |