mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 17:26:04 +00:00
Add custom proto install to travis
This commit is contained in:
@@ -1,7 +1,11 @@
|
|||||||
language: rust
|
language: rust
|
||||||
dist: xenial
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get install -y protobuf-compiler
|
- curl -OL https://github.com/google/protobuf/releases/download/v3.4.0/protoc-3.4.0-linux-x86_64.zip
|
||||||
|
- unzip protoc-3.2.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:
|
script:
|
||||||
- cargo build --verbose --all
|
- cargo build --verbose --all
|
||||||
- cargo test --verbose --all
|
- cargo test --verbose --all
|
||||||
|
|||||||
Reference in New Issue
Block a user