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
|
||||
dist: precise
|
||||
dist: trusty
|
||||
|
||||
language: cpp
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- compiler: gcc
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- g++-4.9
|
||||
env: COMPILER=g++-4.9
|
||||
- compiler: gcc
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- g++-5
|
||||
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
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
# add PPAs with more up-to-date toolchains
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
# install toolchains
|
||||
- g++-4.8
|
||||
#- clang-3.6
|
||||
|
||||
compiler:
|
||||
#- clang
|
||||
- gcc
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
script:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake -DCMAKE_CXX_COMPILER=$COMPILER .. && make
|
||||
- make
|
||||
- make clean
|
||||
|
||||
before_deploy:
|
||||
|
||||
deploy:
|
||||
|
||||
after_deploy:
|
||||
|
||||
|
Loading…
Reference in new issue