Skip to content

Commit e627d40

Browse files
Raphaël Drozl00mi
authored andcommitted
get a running CI (bis) (#115)
1 parent e4ef28c commit e627d40

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ compiler: g++
66

77
addons:
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:
2224
before_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

2934
script:
3035
- qmake -recursive PREFIX=/app

0 commit comments

Comments
 (0)