2014-11-21 14:23:46 +01:00
|
|
|
language: cpp
|
2015-08-12 20:17:17 +02:00
|
|
|
|
|
|
|
sudo: false
|
|
|
|
|
2014-12-09 20:23:21 +01:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2015-08-12 20:17:17 +02:00
|
|
|
|
2014-11-21 14:35:56 +01:00
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
2015-08-12 20:17:17 +02:00
|
|
|
|
2014-11-21 14:23:46 +01:00
|
|
|
before_install:
|
2015-08-12 20:17:17 +02:00
|
|
|
- if [ $TRAVIS_OS_NAME = osx ]; then
|
2014-12-09 20:23:21 +01:00
|
|
|
brew update;
|
|
|
|
fi;
|
2015-08-12 20:17:17 +02:00
|
|
|
|
2014-12-09 20:23:21 +01:00
|
|
|
install:
|
2016-03-26 00:28:23 +01:00
|
|
|
- if [ $TRAVIS_OS_NAME = linux ]; then
|
|
|
|
if [ "$CXX" = "clang++" ]; then
|
|
|
|
export CXX=clang++-3.5;
|
|
|
|
elif [ "$CXX" = "g++" ]; then
|
2016-08-19 00:32:17 +02:00
|
|
|
export CXX=g++-5;
|
2016-03-26 00:28:23 +01:00
|
|
|
fi;
|
2014-12-09 20:23:21 +01:00
|
|
|
elif [ $TRAVIS_OS_NAME = osx ]; then
|
|
|
|
brew outdated boost || brew upgrade boost;
|
|
|
|
fi;
|
2015-10-29 14:43:16 +01:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- secure: "R+NxqtytOslIcQ/eCbLoZhImsgYdJnljfjANdieFQGune9ACPPQL0YanXkF49c9SWGBSxrAcute0egQzv2CU2+ivSQIX/xnMebKHiOmSPYBoxX+VgxLT3U1itUYlpYwixo9rF8UnGdlgXid6oENSiCvfWtNKoM2qOL0Ttw31J9E="
|
2014-12-09 20:23:21 +01:00
|
|
|
|
2015-08-12 20:17:17 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- boost-latest
|
|
|
|
- ubuntu-toolchain-r-test
|
2016-03-26 00:28:23 +01:00
|
|
|
- llvm-toolchain-precise-3.5
|
2015-08-12 20:17:17 +02:00
|
|
|
packages:
|
2016-03-26 00:28:23 +01:00
|
|
|
- clang-3.5
|
2016-08-19 00:32:17 +02:00
|
|
|
- libstdc++-5-dev
|
|
|
|
- g++-5
|
2015-08-12 20:17:17 +02:00
|
|
|
- libncursesw5-dev
|
2015-08-12 20:26:26 +02:00
|
|
|
- libboost-regex1.55-dev
|
2015-10-29 14:43:16 +01:00
|
|
|
coverity_scan:
|
|
|
|
project:
|
|
|
|
name: "mawww/kakoune"
|
|
|
|
description: "Build submitted via Travis CI"
|
|
|
|
notification_email: frrrwww@gmail.com
|
2015-10-29 14:59:10 +01:00
|
|
|
build_command_prepend: "cd src && make clean"
|
2015-10-30 14:13:50 +01:00
|
|
|
build_command: "make -j4"
|
2015-10-30 14:58:41 +01:00
|
|
|
branch_pattern: coverity-scan
|
2015-08-12 20:17:17 +02:00
|
|
|
|
2014-11-21 14:23:46 +01:00
|
|
|
script: cd src && make && make test
|