Skip to content

Commit 112f5f7

Browse files
Added script to install protobuf-compiler 2.5.0 on Linux machines.
1 parent add2d3c commit 112f5f7

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
language: java
33

44
before_install:
5-
- sudo apt-get update -qq
6-
- sudo apt-get install -qq libprotobuf-dev protobuf-compiler
7-
5+
- ./bin/install-protoc.sh
6+
87
before_script:
98
- protoc --version
109

bin/install-protoc.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
sudo apt-get -y install build-essential
2+
wget https://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz
3+
tar xvfz protobuf-2.5.0.tar.gz
4+
cd protobuf-2.5.0
5+
./configure --prefix=/usr
6+
make
7+
sudo make install
8+
protoc --version

0 commit comments

Comments
 (0)