g++ worked! Adding clang support.

This commit is contained in:
Tadas Baltrusaitis 2016-07-27 18:37:40 -04:00
parent 1fe91ca2dc
commit b23393be0b

View file

@ -7,19 +7,22 @@ branches:
- feature-travis
compiler:
- gcc
- clang
before_install:
# g++4.8.1
- if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
# clang 3.4
#- if [ "$CXX" == "clang++" ]; then sudo add-apt-repository -y ppa:h-rayflood/llvm; fi
# clang 3.7
- if [ "$CXX" == "clang++" ]; then sudo add-apt-repository -y ppa:h-rayflood/llvm; fi
- sudo apt-get update -qq
install:
- if [ "$CXX" == "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" == "g++" ]; then export CXX="g++-4.8"; fi
- if [ "$CXX" == "clang++" ]; then sudo apt-get install -qq clang-3.7; fi
- if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.7"; fi
- sudo apt-get install git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
- sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev checkinstall
# Getting newest boost