Skip to content

Commit b255558

Browse files
committed
Bump the version of protobuf to match what's active
1 parent 521cbf4 commit b255558

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.travis.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@ matrix:
7373
env:
7474
- TASK='compile'
7575
- CPPUNIT='1.14'
76-
- PROTOBUF='3.5'
76+
- PROTOBUF='3.6'
7777
- LIBFTDI='1'
7878
- os: osx
7979
osx_image: xcode9.3
8080
compiler: gcc
8181
env:
8282
- TASK='compile'
8383
- CPPUNIT='1.14'
84-
- PROTOBUF='3.5'
84+
- PROTOBUF='3.6'
8585
- LIBFTDI='1'
8686
- os: linux
8787
dist: trusty
@@ -278,8 +278,8 @@ before_cache:
278278

279279
install:
280280
# Match the version of protobuf being installed via apt
281-
  - if [[ "$PROTOBUF" == "3.5" ]]; then pip install --user protobuf==3.5.1; fi
282-
- if [[ "$PROTOBUF" != "3.5" ]]; then pip install --user protobuf==3.1.0; fi
281+
  - if [[ "$PROTOBUF" == "3.6" ]]; then pip install --user protobuf==3.6.0; fi
282+
- if [[ "$PROTOBUF" != "3.6" ]]; then pip install --user protobuf==3.1.0; fi
283283
# We need to use pip rather than apt on Trusty
284284
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then pip install --user numpy; fi
285285
- if [ "$TASK" = "coverage" ]; then pip install --user cpp-coveralls; fi
@@ -298,9 +298,9 @@ before_install:
298298
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ccache bison flex liblo libmicrohttpd; fi # ossp-uuid, homebrew/python/numpy and libusb already present
299299
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$LIBFTDI" != "1" ]; then brew install libftdi0; fi # install libftdi0
300300
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$LIBFTDI" == "1" ]; then brew install libftdi; fi # install the latest libftdi
301-
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$PROTOBUF" == "3.5" ]; then brew install protobuf@3.5; fi
302-
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$PROTOBUF" != "3.5" ]; then brew install protobuf@3.1; fi
303-
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$PROTOBUF" != "3.5" ]; then brew link -f protobuf@3.1; export PKG_CONFIG_PATH=/usr/local/opt/protobuf@3.1/lib/pkgconfig; brew install --build-from-source --ignore-dependencies --env=std protobuf-c; fi # When protobuf is not on the latest release
301+
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$PROTOBUF" == "3.6" ]; then brew install protobuf@3.6; fi
302+
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$PROTOBUF" != "3.6" ]; then brew install protobuf@3.1; fi
303+
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$PROTOBUF" != "3.6" ]; then brew link -f protobuf@3.1; export PKG_CONFIG_PATH=/usr/local/opt/protobuf@3.1/lib/pkgconfig; brew install --build-from-source --ignore-dependencies --env=std protobuf-c; fi # When protobuf is not on the latest release
304304
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mkdir -p ${HOME}/Library/Python/2.7/lib/python/site-packages; echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> ${HOME}/Library/Python/2.7/lib/python/site-packages/homebrew.pth; fi
305305
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$CPPUNIT" != "1.14" ]; then brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/e6e43cf6a3%5E/Formula/cppunit.rb; fi # install a slightly older cppunit, as latest needs C++11 support
306306
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$CPPUNIT" == "1.14" ]; then brew install cppunit; fi # install the latest cppunit, which needs C++11

0 commit comments

Comments
 (0)