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
|
- LD_LIBRARY_PATH: /usr/local/lib
|
||||||
script:
|
script:
|
||||||
# interleave building and testing in hope that it saves time
|
# 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 build -v
|
||||||
- cargo test -v
|
- cargo test -v
|
||||||
- cargo build -v --features rustc-serialize
|
- 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 build -v --features serde
|
||||||
- cargo test -v --features serde
|
- cargo test -v --features serde --lib
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
irc:
|
irc:
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -25,7 +25,7 @@ README.md: src/lib.rs
|
||||||
echo '[![Chrono on crates.io][cratesio-image]][cratesio]' >> $@
|
echo '[![Chrono on crates.io][cratesio-image]][cratesio]' >> $@
|
||||||
echo >> $@
|
echo >> $@
|
||||||
echo '[travis-image]: https://travis-ci.org/lifthrasiir/rust-chrono.svg?branch=master' >> $@
|
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-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 '[appveyor]: https://ci.appveyor.com/project/lifthrasiir/rust-chrono/branch/master' >> $@
|
||||||
echo '[cratesio-image]: https://img.shields.io/crates/v/chrono.svg' >> $@
|
echo '[cratesio-image]: https://img.shields.io/crates/v/chrono.svg' >> $@
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
[![Chrono on crates.io][cratesio-image]][cratesio]
|
[![Chrono on crates.io][cratesio-image]][cratesio]
|
||||||
|
|
||||||
[travis-image]: https://travis-ci.org/lifthrasiir/rust-chrono.svg?branch=master
|
[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-image]: https://ci.appveyor.com/api/projects/status/o83jn08389si56fy/branch/master?svg=true
|
||||||
[appveyor]: https://ci.appveyor.com/project/lifthrasiir/rust-chrono/branch/master
|
[appveyor]: https://ci.appveyor.com/project/lifthrasiir/rust-chrono/branch/master
|
||||||
[cratesio-image]: https://img.shields.io/crates/v/chrono.svg
|
[cratesio-image]: https://img.shields.io/crates/v/chrono.svg
|
||||||
|
|
|
@ -20,6 +20,6 @@ install:
|
||||||
- cargo -vV
|
- cargo -vV
|
||||||
build_script:
|
build_script:
|
||||||
# do not test all combinations, Travis will handle that
|
# 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:
|
test_script:
|
||||||
- cargo test -v --features 'serde rustc-serialize'
|
- cargo test -v --features "serde rustc-serialize"
|
||||||
|
|
Loading…
Reference in New Issue