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:
Paul Hauner 2019-02-13 16:20:24 +11:00
parent 122bdb3c0b
commit 433345e6e7
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6

View File

@ -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