You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .travis.yml
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -73,15 +73,15 @@ matrix:
73
73
env:
74
74
- TASK='compile'
75
75
- CPPUNIT='1.14'
76
-
- PROTOBUF='3.5'
76
+
- PROTOBUF='3.6'
77
77
- LIBFTDI='1'
78
78
- os: osx
79
79
osx_image: xcode9.3
80
80
compiler: gcc
81
81
env:
82
82
- TASK='compile'
83
83
- CPPUNIT='1.14'
84
-
- PROTOBUF='3.5'
84
+
- PROTOBUF='3.6'
85
85
- LIBFTDI='1'
86
86
- os: linux
87
87
dist: trusty
@@ -278,8 +278,8 @@ before_cache:
278
278
279
279
install:
280
280
# 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
283
283
# We need to use pip rather than apt on Trusty
284
284
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then pip install --user numpy; fi
285
285
- if [ "$TASK" = "coverage" ]; then pip install --user cpp-coveralls; fi
@@ -298,9 +298,9 @@ before_install:
298
298
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ccache bison flex liblo libmicrohttpd; fi # ossp-uuid, homebrew/python/numpy and libusb already present
299
299
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$LIBFTDI" != "1" ]; then brew install libftdi0; fi # install libftdi0
300
300
- 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
304
304
- 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
305
305
- 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
306
306
- 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