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:
parent
eda83ac3d9
commit
8aa1f4b7af
|
@ -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:
|
||||
|
|
2
Makefile
2
Makefile
|
@ -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' >> $@
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue