Skip to content

Commit f3174c0

Browse files
author
Kirill Kornyakov
committed
Use GCC 4.8
1 parent 29fe2d4 commit f3174c0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

+6
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,20 @@ compiler:
77
- clang
88
addons:
99
apt:
10+
sources:
11+
- ubuntu-toolchain-r-test
1012
packages:
1113
- libopencv-dev
1214
- xvfb
15+
- gcc-4.8
16+
- g++-4.8
1317
before_script:
1418
# For headless testing of the sample application (cv::imshow)
1519
- "export DISPLAY=:99.0"
1620
- "sh -e /etc/init.d/xvfb start"
1721
- sleep 3 # give xvfb some time to start
22+
# Use newer gcc and g++
23+
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
1824
script:
1925
# Run CMake in order to generate makefile
2026
- mkdir ../build

0 commit comments

Comments
 (0)