File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,12 @@ compiler: g++
66
77addons :
88 apt :
9+ update : true
910 sources :
1011 - george-edison55-precise-backports
1112 - ubuntu-toolchain-r-test
12- - timsc
13+ - sourceline : ' ppa:timsc/opencv-3.4'
14+ key_url : ' https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8A9CA30DB3C431E3'
1315 packages :
1416 - cmake-data
1517 - cmake
@@ -22,9 +24,12 @@ addons:
2224before_install :
2325 - if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install opencv && brew install qt5 && brew link --force qt5; fi
2426 # additional headerfiles
25- - sudo apt-get -y install libxxf86vm-dev libxi-dev libudev-dev libxcursor-dev
27+ - sudo apt-get -y install libxxf86vm-dev libxi-dev libudev-dev libxcursor-dev wget xz-utils
2628 - sudo apt-get -y install -f qtbase5-dev qt5-default qttools5-dev-tools libqt5opengl5-dev
2729 - sudo apt-get -y install libfreeimage-dev
30+ # workaround for contrib binary libs unavailability
31+ - wget -O opencv-3.4-x86_64.pkg.tar.xz https://www.archlinux.org/packages/extra/x86_64/opencv/download/
32+ - sudo tar --wildcards --strip=2 -C /usr/lib/x86_64-linux-gnu/ -xf opencv-3.4-x86_64.pkg.tar.xz usr/lib/libopencv_xfeatures2d.so* usr/lib/libopencv_xphoto.so* usr/lib/libopencv_optflow.so*
2833
2934script :
3035 - qmake -recursive PREFIX=/app
You can’t perform that action at this time.
0 commit comments