mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-22 11:41:28 +00:00
9b3c9f8c0f
There's a non-backward compatible change in `cargo fmt`. Stable and beta do not agree.
25 lines
651 B
YAML
25 lines
651 B
YAML
language: rust
|
|
cache:
|
|
directories:
|
|
- /home/travis/.cargo
|
|
before_install:
|
|
- curl -OL https://github.com/google/protobuf/releases/download/v3.4.0/protoc-3.4.0-linux-x86_64.zip
|
|
- unzip protoc-3.4.0-linux-x86_64.zip -d protoc3
|
|
- 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
|
|
script:
|
|
- cargo build --verbose --all --release
|
|
- cargo fmt --all -- --check
|
|
rust:
|
|
- beta
|
|
- nightly
|
|
matrix:
|
|
allow_failures:
|
|
- rust: beta
|
|
- rust: nightly
|
|
fast_finish: true
|
|
install:
|
|
- rustup component add rustfmt
|