Skip to content

Commit 67b4afe

Browse files
rdegnanOlegDokuka
authored andcommitted
Try installing protobuf without homebrew
(cherry picked from commit 8c006b4)
1 parent 2e36bf0 commit 67b4afe

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.travis.yml

+8-12
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
sudo: required
22
jobs:
3-
allow_failures:
4-
- os: windows
53
include:
64
- stage: build
75
language: cpp
@@ -17,6 +15,7 @@ jobs:
1715
- stage: build
1816
language: cpp
1917
os: windows
18+
filter_secrets: false
2019
env:
2120
- GRADLE_OPTS="-Dorg.gradle.daemon=false"
2221
before_install:
@@ -35,17 +34,14 @@ jobs:
3534
- stage: deploy
3635
language: cpp
3736
os: osx
38-
osx_image: xcode9.4
39-
env:
40-
- HOMEBREW_TEMP="/tmp"
41-
- LDFLAGS="/usr/local/lib/libprotobuf.a /usr/local/lib/libprotoc.a"
37+
osx_image: xcode10.1
38+
compiler: clang
4239
before_install:
43-
- brew update
44-
- pushd $(brew --repo)/Library/Taps/homebrew/homebrew-core
45-
- git checkout 25a1892 Formula/protobuf.rb
46-
- EDITOR="sed -i '' 's/system \".\/configure\",/system \".\/configure\", \"--disable-shared\",/g'"
47-
brew edit protobuf
48-
- brew install protobuf
40+
- curl -O -L https://github.com/google/protobuf/releases/download/v3.6.1/protobuf-cpp-3.6.1.tar.gz
41+
- tar -xzf protobuf-cpp-3.6.1.tar.gz
42+
- pushd protobuf-3.6.1
43+
- ./autogen.sh
44+
- ./configure --disable-shared && make && sudo make install
4945
- popd
5046
script: "./ci/travis.sh"
5147
before_cache:

0 commit comments

Comments
 (0)