2014-11-21 16:23:46 +03:00
|
|
|
language: cpp
|
2015-08-12 21:17:17 +03:00
|
|
|
|
2018-06-21 01:12:39 +03:00
|
|
|
dist: trusty
|
2015-08-12 21:17:17 +03:00
|
|
|
sudo: false
|
|
|
|
|
2014-12-09 22:23:21 +03:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2015-08-12 21:17:17 +03:00
|
|
|
|
2018-12-20 00:42:55 +03:00
|
|
|
osx_image: xcode10.1
|
2017-10-21 08:10:34 +03:00
|
|
|
|
2014-11-21 16:35:56 +03:00
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
2015-08-12 21:17:17 +03:00
|
|
|
|
2014-11-21 16:23:46 +03:00
|
|
|
before_install:
|
2015-08-12 21:17:17 +03:00
|
|
|
- if [ $TRAVIS_OS_NAME = osx ]; then
|
2014-12-09 22:23:21 +03:00
|
|
|
brew update;
|
|
|
|
fi;
|
2015-08-12 21:17:17 +03:00
|
|
|
|
2014-12-09 22:23:21 +03:00
|
|
|
install:
|
2016-03-26 02:28:23 +03:00
|
|
|
- if [ $TRAVIS_OS_NAME = linux ]; then
|
2018-06-21 01:15:53 +03:00
|
|
|
if [ "$CXX" = "g++" ]; then
|
2018-12-20 00:42:55 +03:00
|
|
|
export CXX=g++-7;
|
2016-03-26 02:28:23 +03:00
|
|
|
fi;
|
2014-12-09 22:23:21 +03:00
|
|
|
elif [ $TRAVIS_OS_NAME = osx ]; then
|
2019-01-11 01:30:25 +03:00
|
|
|
if [ "$CXX" = "g++" ]; then
|
|
|
|
brew install gcc@7;
|
|
|
|
export CXX=g++-7;
|
|
|
|
fi;
|
2014-12-09 22:23:21 +03:00
|
|
|
fi;
|
2015-10-29 16:43:16 +03:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- secure: "R+NxqtytOslIcQ/eCbLoZhImsgYdJnljfjANdieFQGune9ACPPQL0YanXkF49c9SWGBSxrAcute0egQzv2CU2+ivSQIX/xnMebKHiOmSPYBoxX+VgxLT3U1itUYlpYwixo9rF8UnGdlgXid6oENSiCvfWtNKoM2qOL0Ttw31J9E="
|
2014-12-09 22:23:21 +03:00
|
|
|
|
2015-08-12 21:17:17 +03:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
2018-12-20 00:42:55 +03:00
|
|
|
- libstdc++-7-dev
|
|
|
|
- g++-7
|
2015-08-12 21:17:17 +03:00
|
|
|
- libncursesw5-dev
|
2015-10-29 16:43:16 +03:00
|
|
|
coverity_scan:
|
|
|
|
project:
|
|
|
|
name: "mawww/kakoune"
|
|
|
|
description: "Build submitted via Travis CI"
|
|
|
|
notification_email: frrrwww@gmail.com
|
2015-10-29 16:59:10 +03:00
|
|
|
build_command_prepend: "cd src && make clean"
|
2015-10-30 16:13:50 +03:00
|
|
|
build_command: "make -j4"
|
2015-10-30 16:58:41 +03:00
|
|
|
branch_pattern: coverity-scan
|
2015-08-12 21:17:17 +03:00
|
|
|
|
2014-11-21 16:23:46 +03:00
|
|
|
script: cd src && make && make test
|