Test with same features in Travis and AppVeyor

This commit is contained in:
David Tolnay 2018-12-31 23:31:49 -05:00
parent 981a75d7c9
commit 1df8b5785b
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
2 changed files with 5 additions and 5 deletions

View File

@ -25,11 +25,11 @@ matrix:
- cargo build --no-default-features - cargo build --no-default-features
- cargo build --no-default-features --features alloc - cargo build --no-default-features --features alloc
- cargo build --no-default-features --features rc,alloc - cargo build --no-default-features --features rc,alloc
- cargo test --features rc,unstable,derive - cargo test --features derive,rc,unstable
- cd "${TRAVIS_BUILD_DIR}/test_suite/deps" - cd "${TRAVIS_BUILD_DIR}/test_suite/deps"
- cargo build - cargo build
- cd "${TRAVIS_BUILD_DIR}/test_suite" - cd "${TRAVIS_BUILD_DIR}/test_suite"
- cargo test --features unstable,compiletest - cargo test --features compiletest,unstable
- cd "${TRAVIS_BUILD_DIR}/test_suite/no_std" - cd "${TRAVIS_BUILD_DIR}/test_suite/no_std"
- cargo build - cargo build

View File

@ -23,7 +23,7 @@ for:
- cargo build --no-default-features - cargo build --no-default-features
- cd %APPVEYOR_BUILD_FOLDER%\serde_test - cd %APPVEYOR_BUILD_FOLDER%\serde_test
- cargo build - cargo build
- cargo test - cargo test --features serde/derive,serde/rc
- matrix: - matrix:
only: only:
@ -34,8 +34,8 @@ for:
- cargo build --no-default-features - cargo build --no-default-features
- cargo build --no-default-features --features alloc - cargo build --no-default-features --features alloc
- cargo build --no-default-features --features rc,alloc - cargo build --no-default-features --features rc,alloc
- cargo test --features rc,unstable - cargo test --features derive,rc,unstable
- cd %APPVEYOR_BUILD_FOLDER%\test_suite\deps - cd %APPVEYOR_BUILD_FOLDER%\test_suite\deps
- cargo build - cargo build
- cd %APPVEYOR_BUILD_FOLDER%\test_suite - cd %APPVEYOR_BUILD_FOLDER%\test_suite
- cargo test --features unstable - cargo test --features compiletest,unstable