mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Merge pull request #3300 from phansch/travis_windows
Add Travis windows build
This commit is contained in:
commit
e03a06b285
@ -5,6 +5,7 @@ rust: nightly
|
|||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
|
- windows
|
||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
@ -23,7 +24,7 @@ before_install:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
- |
|
- |
|
||||||
if [ -z ${INTEGRATION} ]; then
|
if [ -z ${INTEGRATION} ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then
|
||||||
. $HOME/.nvm/nvm.sh
|
. $HOME/.nvm/nvm.sh
|
||||||
nvm install stable
|
nvm install stable
|
||||||
nvm use stable
|
nvm use stable
|
||||||
@ -36,6 +37,8 @@ matrix:
|
|||||||
env: BASE_TESTS=true
|
env: BASE_TESTS=true
|
||||||
- os: linux
|
- os: linux
|
||||||
env: BASE_TESTS=true
|
env: BASE_TESTS=true
|
||||||
|
- os: windows
|
||||||
|
env: BASE_TEST=true
|
||||||
- env: INTEGRATION=rust-lang/cargo
|
- env: INTEGRATION=rust-lang/cargo
|
||||||
- env: INTEGRATION=rust-lang-nursery/rand
|
- env: INTEGRATION=rust-lang-nursery/rand
|
||||||
- env: INTEGRATION=rust-lang-nursery/stdsimd
|
- env: INTEGRATION=rust-lang-nursery/stdsimd
|
||||||
@ -49,10 +52,14 @@ matrix:
|
|||||||
- env: INTEGRATION=serde-rs/serde
|
- env: INTEGRATION=serde-rs/serde
|
||||||
- env: INTEGRATION=Geal/nom
|
- env: INTEGRATION=Geal/nom
|
||||||
- env: INTEGRATION=hyperium/hyper
|
- env: INTEGRATION=hyperium/hyper
|
||||||
|
allow_failures:
|
||||||
|
- os: windows
|
||||||
|
env: BASE_TEST=true
|
||||||
# prevent these jobs with default env vars
|
# prevent these jobs with default env vars
|
||||||
exclude:
|
exclude:
|
||||||
- os: linux
|
- os: linux
|
||||||
- os: osx
|
- os: osx
|
||||||
|
- os: windows
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
|
@ -14,7 +14,9 @@ set -ex
|
|||||||
echo "Running clippy base tests"
|
echo "Running clippy base tests"
|
||||||
|
|
||||||
PATH=$PATH:./node_modules/.bin
|
PATH=$PATH:./node_modules/.bin
|
||||||
remark -f *.md > /dev/null
|
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
|
||||||
|
remark -f *.md > /dev/null
|
||||||
|
fi
|
||||||
# build clippy in debug mode and run tests
|
# build clippy in debug mode and run tests
|
||||||
cargo build --features debugging
|
cargo build --features debugging
|
||||||
cargo test --features debugging
|
cargo test --features debugging
|
||||||
|
Loading…
Reference in New Issue
Block a user