2017-03-27 11:15:22 -05:00
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- APPVEYOR_RUST_CHANNEL: stable
|
|
|
|
- APPVEYOR_RUST_CHANNEL: nightly
|
|
|
|
|
|
|
|
install:
|
|
|
|
# Install rust, x86_64-pc-windows-msvc host
|
2018-01-04 22:04:16 -06:00
|
|
|
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
|
2017-03-27 11:15:22 -05:00
|
|
|
- rustup-init.exe -y --default-host x86_64-pc-windows-msvc --default-toolchain %APPVEYOR_RUST_CHANNEL%
|
|
|
|
- set PATH=C:\msys64\usr\bin;%PATH%;C:\Users\appveyor\.cargo\bin
|
|
|
|
- rustc -vV
|
|
|
|
- cargo -vV
|
|
|
|
|
|
|
|
build: false
|
|
|
|
|
2018-09-15 17:34:05 -05:00
|
|
|
for:
|
|
|
|
- matrix:
|
|
|
|
only:
|
|
|
|
- APPVEYOR_RUST_CHANNEL: stable
|
|
|
|
test_script:
|
|
|
|
- cd %APPVEYOR_BUILD_FOLDER%\serde
|
|
|
|
- cargo build --features rc
|
|
|
|
- cargo build --no-default-features
|
|
|
|
- cd %APPVEYOR_BUILD_FOLDER%\serde_test
|
|
|
|
- cargo build
|
2018-12-31 22:31:49 -06:00
|
|
|
- cargo test --features serde/derive,serde/rc
|
2018-09-15 17:34:05 -05:00
|
|
|
|
|
|
|
- matrix:
|
|
|
|
only:
|
|
|
|
- APPVEYOR_RUST_CHANNEL: nightly
|
|
|
|
test_script:
|
|
|
|
- cd %APPVEYOR_BUILD_FOLDER%\serde
|
|
|
|
- cargo build
|
|
|
|
- cargo build --no-default-features
|
|
|
|
- cargo build --no-default-features --features alloc
|
|
|
|
- cargo build --no-default-features --features rc,alloc
|
2018-12-31 22:31:49 -06:00
|
|
|
- cargo test --features derive,rc,unstable
|
2018-09-15 17:34:05 -05:00
|
|
|
- cd %APPVEYOR_BUILD_FOLDER%\test_suite\deps
|
|
|
|
- cargo build
|
|
|
|
- cd %APPVEYOR_BUILD_FOLDER%\test_suite
|
2018-12-31 22:31:49 -06:00
|
|
|
- cargo test --features compiletest,unstable
|