Further tweaks to CI configs.

- Do not doc-test three times in Travis, it simply takes a lot :(

- Forgot that Windows shell doesn't recognize single quotes.
This commit is contained in:
Kang Seonghoon 2016-08-17 03:18:12 +09:00
parent eda83ac3d9
commit 8aa1f4b7af
No known key found for this signature in database
GPG Key ID: 82440FABA6709020
4 changed files with 7 additions and 6 deletions

View File

@ -18,12 +18,13 @@ env:
- LD_LIBRARY_PATH: /usr/local/lib
script:
# interleave building and testing in hope that it saves time
# also avoid doc-testing multiple times---it takes a lot and rarely helps
- cargo build -v
- cargo test -v
- cargo build -v --features rustc-serialize
- cargo test -v --features rustc-serialize
- cargo test -v --features rustc-serialize --lib
- cargo build -v --features serde
- cargo test -v --features serde
- cargo test -v --features serde --lib
notifications:
email: false
irc:

View File

@ -25,7 +25,7 @@ README.md: src/lib.rs
echo '[![Chrono on crates.io][cratesio-image]][cratesio]' >> $@
echo >> $@
echo '[travis-image]: https://travis-ci.org/lifthrasiir/rust-chrono.svg?branch=master' >> $@
echo '[travis]: https://travis-ci.org/lifthrasiir/rust-chrono/branch/master' >> $@
echo '[travis]: https://travis-ci.org/lifthrasiir/rust-chrono' >> $@
echo '[appveyor-image]: https://ci.appveyor.com/api/projects/status/o83jn08389si56fy/branch/master?svg=true' >> $@
echo '[appveyor]: https://ci.appveyor.com/project/lifthrasiir/rust-chrono/branch/master' >> $@
echo '[cratesio-image]: https://img.shields.io/crates/v/chrono.svg' >> $@

View File

@ -6,7 +6,7 @@
[![Chrono on crates.io][cratesio-image]][cratesio]
[travis-image]: https://travis-ci.org/lifthrasiir/rust-chrono.svg?branch=master
[travis]: https://travis-ci.org/lifthrasiir/rust-chrono/branch/master
[travis]: https://travis-ci.org/lifthrasiir/rust-chrono
[appveyor-image]: https://ci.appveyor.com/api/projects/status/o83jn08389si56fy/branch/master?svg=true
[appveyor]: https://ci.appveyor.com/project/lifthrasiir/rust-chrono/branch/master
[cratesio-image]: https://img.shields.io/crates/v/chrono.svg

View File

@ -20,6 +20,6 @@ install:
- cargo -vV
build_script:
# do not test all combinations, Travis will handle that
- cargo build -v --features 'serde rustc-serialize'
- cargo build -v --features "serde rustc-serialize"
test_script:
- cargo test -v --features 'serde rustc-serialize'
- cargo test -v --features "serde rustc-serialize"