Update travis to test all components

This commit is contained in:
Paul Hauner 2019-02-13 16:16:41 +11:00
parent 0e85b1a167
commit 122bdb3c0b
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6

View File

@ -7,9 +7,15 @@ before_install:
- sudo chown $USER /usr/local/bin/protoc - sudo chown $USER /usr/local/bin/protoc
- sudo chown -R $USER /usr/local/include/google - sudo chown -R $USER /usr/local/include/google
script: script:
- cargo build --verbose --all - cargo build --verbose --all --manifest-path lighthouse-beacon/Cargo.toml
- cargo test --verbose --all - cargo build --verbose --all --manifest-path lighthouse-validator/Cargo.toml
- cargo fmt --all -- --check - cargo build --verbose --all --manifest-path lighthouse-libs/Cargo.toml
- cargo test --verbose --all --manifest-path lighthouse-beacon/Cargo.toml
- cargo test --verbose --all --manifest-path lighthouse-validator/Cargo.toml
- cargo test --verbose --all --manifest-path lighthouse-libs/Cargo.toml
- cargo fmt --all -- --check --manifest-path lighthouse-beacon/Cargo.toml
- cargo fmt --all -- --check --manifest-path lighthouse-validator/Cargo.toml
- cargo fmt --all -- --check --manifest-path lighthouse-libs/Cargo.toml
rust: rust:
- stable - stable
- beta - beta