2018-07-12 05:04:02 +00:00
|
|
|
language: rust
|
2019-01-21 22:09:21 +00:00
|
|
|
before_install:
|
2019-01-21 23:02:48 +00:00
|
|
|
- curl -OL https://github.com/google/protobuf/releases/download/v3.4.0/protoc-3.4.0-linux-x86_64.zip
|
2019-01-21 23:07:28 +00:00
|
|
|
- unzip protoc-3.4.0-linux-x86_64.zip -d protoc3
|
2019-01-21 23:02:48 +00: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-05 23:05:03 +00:00
|
|
|
script:
|
2019-02-14 01:09:18 +00:00
|
|
|
- cargo build --verbose --all
|
2019-03-12 11:26:01 +00:00
|
|
|
- cargo fmt --all -- --check
|
2019-03-21 05:08:14 +00:00
|
|
|
# No clippy until later...
|
|
|
|
#- cargo clippy
|
2019-02-14 01:09:18 +00:00
|
|
|
- cargo test --verbose --all
|
2018-07-12 05:04:02 +00:00
|
|
|
rust:
|
|
|
|
- stable
|
|
|
|
- beta
|
|
|
|
- nightly
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- rust: nightly
|
|
|
|
fast_finish: true
|
2019-01-10 20:59:15 +00:00
|
|
|
install:
|
2019-01-10 21:05:50 +00:00
|
|
|
- rustup component add rustfmt
|
2019-03-12 11:36:20 +00:00
|
|
|
- rustup component add clippy
|