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:
|
|
||||||
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:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources:
|
sources:
|
||||||
|
# add PPAs with more up-to-date toolchains
|
||||||
- ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
- llvm-toolchain-precise-3.6
|
|
||||||
packages:
|
packages:
|
||||||
- clang-3.6
|
# install toolchains
|
||||||
env: COMPILER=clang++-3.6
|
- g++-4.8
|
||||||
- compiler: clang
|
#- clang-3.6
|
||||||
addons:
|
|
||||||
apt:
|
compiler:
|
||||||
sources:
|
#- clang
|
||||||
- ubuntu-toolchain-r-test
|
- gcc
|
||||||
- llvm-toolchain-precise-3.7
|
|
||||||
packages:
|
branches:
|
||||||
- clang-3.7
|
only:
|
||||||
env: COMPILER=clang++-3.7
|
- master
|
||||||
|
|
||||||
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