Skip to content
This repository was archived by the owner on May 4, 2019. It is now read-only.

Commit d297913

Browse files
committed
Remove protobuf requirement
1 parent 0c89c2a commit d297913

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

.travis.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,12 @@ matrix:
44
- os: linux
55
jdk: oraclejdk8
66
language: generic
7-
before_install:
8-
- wget https://github.com/google/protobuf/releases/download/v3.6.0/protobuf-cpp-3.6.0.tar.gz
9-
- tar -xzvf protobuf-cpp-3.6.0.tar.gz
10-
- pushd protobuf-3.6.0 && ./configure --disable-shared && make && sudo make install
11-
&& popd
127
script: gradle/buildViaTravis-linux.sh
138
- os: osx
149
osx_image: xcode9.4
1510
language: generic
1611
env:
1712
- HOMEBREW_TEMP="/tmp"
18-
- LDFLAGS="/usr/local/lib/libprotobuf.a /usr/local/lib/libprotoc.a"
19-
before_install:
20-
- brew update
21-
- EDITOR="sed -i '' 's/system \".\/configure\",/system \".\/configure\", \"--disable-shared\",/g'"
22-
brew edit protobuf
23-
- brew install protobuf
2413
script: gradle/buildViaTravis.sh
2514
before_cache:
2615
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,7 @@
44

55

66
## Build from Source
7-
1. Building proteus-java requires installation of the [Protobuf](https://github.com/google/protobuf) compiler. Proteus requires Protobuf 3.4.x or higher.
8-
9-
For Mac users you can easily install the Protobuf compiler using Homebrew:
10-
11-
$ brew install protobuf
12-
13-
For other operating systems you can install the Protobuf compiler using the pre-built packages hosted on the [Protobuf Releases](https://github.com/google/protobuf/releases) page.
14-
15-
2. Run the following Gradle command to build the project:
7+
1. Run the following Gradle command to build the project:
168

179
$ ./gradlew clean build
1810

0 commit comments

Comments
 (0)