Travis Driven Development #2
This commit is contained in:
parent
bf95cd3dde
commit
674aa53c5b
|
@ -18,12 +18,12 @@ install:
|
||||||
# Install `cargo-deadlinks` unless it is currently installed.
|
# Install `cargo-deadlinks` unless it is currently installed.
|
||||||
- command -v cargo-deadlinks &> /dev/null || cargo install cargo-deadlinks
|
- command -v cargo-deadlinks &> /dev/null || cargo install cargo-deadlinks
|
||||||
# Install nightly toolchain.
|
# Install nightly toolchain.
|
||||||
- rustup toolchain install $(NIGHTLY_TOOLCHAIN)
|
- rustup toolchain install $NIGHTLY_TOOLCHAIN
|
||||||
script:
|
script:
|
||||||
- export CC=/usr/bin/gcc-6
|
- export CC=/usr/bin/gcc-6
|
||||||
- export CXX=/usr/bin/g++-6
|
- export CXX=/usr/bin/g++-6
|
||||||
# Make sure fuzz targets are not broken.
|
# Make sure fuzz targets are not broken.
|
||||||
- rustup run $(NIGHTLY_TOOLCHAIN) cargo check --tests --manifest-path=fuzz/Cargo.toml
|
- rustup run $NIGHTLY_TOOLCHAIN cargo check --tests --manifest-path=fuzz/Cargo.toml
|
||||||
- ./test.sh
|
- ./test.sh
|
||||||
- ./doc.sh
|
- ./doc.sh
|
||||||
after_success: |
|
after_success: |
|
||||||
|
|
2
doc.sh
2
doc.sh
|
@ -4,7 +4,7 @@ set -eux
|
||||||
|
|
||||||
cd $(dirname $0)
|
cd $(dirname $0)
|
||||||
|
|
||||||
rustup run $(NIGHTLY_TOOLCHAIN) cargo doc
|
rustup run $NIGHTLY_TOOLCHAIN cargo doc
|
||||||
|
|
||||||
# cargo-deadlinks will check any links in docs generated by `cargo doc`.
|
# cargo-deadlinks will check any links in docs generated by `cargo doc`.
|
||||||
# This is useful as rustdoc uses raw links which are error prone.
|
# This is useful as rustdoc uses raw links which are error prone.
|
||||||
|
|
Loading…
Reference in New Issue