lighthouse-pulse/.travis.yml

28 lines
780 B
YAML
Raw Normal View History

2018-07-12 15:04:02 +10:00
language: rust
2019-01-22 09:09:21 +11:00
before_install:
2019-01-22 10:02:48 +11:00
- curl -OL https://github.com/google/protobuf/releases/download/v3.4.0/protoc-3.4.0-linux-x86_64.zip
2019-01-22 10:07:28 +11:00
- unzip protoc-3.4.0-linux-x86_64.zip -d protoc3
2019-01-22 10:02:48 +11:00
- sudo mv protoc3/bin/* /usr/local/bin/
- sudo mv protoc3/include/* /usr/local/include/
- sudo chown $USER /usr/local/bin/protoc
- sudo chown -R $USER /usr/local/include/google
2018-12-06 10:05:03 +11:00
script:
- cargo build --verbose --all
- cargo build --verbose --release --all
- cargo test --verbose --all
- cargo test --verbose --release --all
- cargo fmt --all -- --check
# No clippy until later...
#- cargo clippy
2018-07-12 15:04:02 +10:00
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
fast_finish: true
install:
2019-01-10 15:05:50 -06:00
- rustup component add rustfmt
- rustup component add clippy