Update travis.yml to fix SSH permission denied.
For more info: https://stackoverflow.com/questions/15674064/how-to-fix-a-permission-denied-publickey-error-for-a-git-submodule-update-in-t
This commit is contained in:
parent
122bdb3c0b
commit
433345e6e7
@ -1,4 +1,6 @@
|
||||
language: rust
|
||||
git:
|
||||
submodules: false
|
||||
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
|
||||
@ -6,6 +8,8 @@ before_install:
|
||||
- sudo mv protoc3/include/* /usr/local/include/
|
||||
- sudo chown $USER /usr/local/bin/protoc
|
||||
- sudo chown -R $USER /usr/local/include/google
|
||||
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
|
||||
- git submodule update --init --recursive
|
||||
script:
|
||||
- cargo build --verbose --all --manifest-path lighthouse-beacon/Cargo.toml
|
||||
- cargo build --verbose --all --manifest-path lighthouse-validator/Cargo.toml
|
||||
|
Loading…
Reference in New Issue
Block a user