Use protobuf and runc setup scripts in .travis.yml
Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
This commit is contained in:
parent
a8c5ff57e5
commit
f65cdc18a7
@ -15,7 +15,6 @@ addons:
|
|||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- btrfs-tools
|
- btrfs-tools
|
||||||
- libseccomp-dev
|
|
||||||
- libapparmor-dev
|
- libapparmor-dev
|
||||||
- libnl-3-dev
|
- libnl-3-dev
|
||||||
- libnet-dev
|
- libnet-dev
|
||||||
@ -33,16 +32,17 @@ env:
|
|||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- uname -r
|
- uname -r
|
||||||
|
- sudo apt-get -q update
|
||||||
|
- sudo apt-get install -y libseccomp-dev/trusty-backports
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- wget https://github.com/google/protobuf/releases/download/v3.5.0/protoc-3.5.0-linux-x86_64.zip -O /tmp/protoc-3.5.0-linux-x86_64.zip
|
- sudo PATH=$PATH GOPATH=$GOPATH script/setup/install-protobuf
|
||||||
- sudo unzip -o -d /usr/local /tmp/protoc-3.5.0-linux-x86_64.zip
|
|
||||||
- sudo chmod +x /usr/local/bin/protoc
|
- sudo chmod +x /usr/local/bin/protoc
|
||||||
- sudo chmod og+rx /usr/local/include/google /usr/local/include/google/protobuf /usr/local/include/google/protobuf/compiler
|
- sudo chmod og+rx /usr/local/include/google /usr/local/include/google/protobuf /usr/local/include/google/protobuf/compiler
|
||||||
- sudo chmod -R og+r /usr/local/include/google/protobuf/
|
- sudo chmod -R og+r /usr/local/include/google/protobuf/
|
||||||
- protoc --version
|
- protoc --version
|
||||||
- go get -u github.com/vbatts/git-validation
|
- go get -u github.com/vbatts/git-validation
|
||||||
- sudo wget https://github.com/crosbymichael/runc/releases/download/ctd-9/runc -O /bin/runc; sudo chmod +x /bin/runc
|
- sudo PATH=$PATH GOPATH=$GOPATH script/setup/install-runc
|
||||||
- wget https://github.com/xemul/criu/archive/v3.0.tar.gz -O /tmp/criu.tar.gz
|
- wget https://github.com/xemul/criu/archive/v3.0.tar.gz -O /tmp/criu.tar.gz
|
||||||
- tar -C /tmp/ -zxf /tmp/criu.tar.gz
|
- tar -C /tmp/ -zxf /tmp/criu.tar.gz
|
||||||
- cd /tmp/criu-3.0 && sudo make install-criu
|
- cd /tmp/criu-3.0 && sudo make install-criu
|
||||||
|
Loading…
Reference in New Issue
Block a user