parent
1a6e8de54e
commit
26744f5c4e
@ -1,49 +1,34 @@
|
|||||||
# Use new trusty images, should yield newer compilers and packages
|
# Ubuntu 14.04 Trusty support
|
||||||
sudo: required
|
sudo: required
|
||||||
dist: precise
|
dist: trusty
|
||||||
|
|
||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
matrix:
|
addons:
|
||||||
include:
|
apt:
|
||||||
- compiler: gcc
|
sources:
|
||||||
addons:
|
# add PPAs with more up-to-date toolchains
|
||||||
apt:
|
- ubuntu-toolchain-r-test
|
||||||
sources:
|
packages:
|
||||||
- ubuntu-toolchain-r-test
|
# install toolchains
|
||||||
packages:
|
- g++-4.8
|
||||||
- g++-4.9
|
#- clang-3.6
|
||||||
env: COMPILER=g++-4.9
|
|
||||||
- compiler: gcc
|
compiler:
|
||||||
addons:
|
#- clang
|
||||||
apt:
|
- gcc
|
||||||
sources:
|
|
||||||
- ubuntu-toolchain-r-test
|
branches:
|
||||||
packages:
|
only:
|
||||||
- g++-5
|
- master
|
||||||
env: COMPILER=g++-5
|
|
||||||
- compiler: clang
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
sources:
|
|
||||||
- ubuntu-toolchain-r-test
|
|
||||||
- llvm-toolchain-precise-3.6
|
|
||||||
packages:
|
|
||||||
- clang-3.6
|
|
||||||
env: COMPILER=clang++-3.6
|
|
||||||
- compiler: clang
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
sources:
|
|
||||||
- ubuntu-toolchain-r-test
|
|
||||||
- llvm-toolchain-precise-3.7
|
|
||||||
packages:
|
|
||||||
- clang-3.7
|
|
||||||
env: COMPILER=clang++-3.7
|
|
||||||
|
|
||||||
before_install:
|
|
||||||
- sudo apt-get update -qq
|
|
||||||
#- sudo apt-get install -y libopencv-dev
|
|
||||||
script:
|
script:
|
||||||
- mkdir build
|
- make
|
||||||
- cd build
|
- make clean
|
||||||
- cmake -DCMAKE_CXX_COMPILER=$COMPILER .. && make
|
|
||||||
|
before_deploy:
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
|
||||||
|
after_deploy:
|
||||||
|
|
||||||
|
Loading…
Reference in new issue