1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-26 21:22:00 +03:00
kakoune/.travis.yml
2019-01-20 22:59:28 +11:00

54 lines
1.1 KiB
YAML

language: cpp
dist: trusty
sudo: false
os:
- linux
- osx
osx_image: xcode10.1
compiler:
- clang
- gcc
before_install:
- if [ $TRAVIS_OS_NAME = osx ]; then
brew update;
fi;
install:
- if [ $TRAVIS_OS_NAME = linux ]; then
if [ "$CXX" = "g++" ]; then
export CXX=g++-7;
fi;
elif [ $TRAVIS_OS_NAME = osx ]; then
if [ "$CXX" = "g++" ]; then
brew install gcc@7;
export CXX=g++-7;
fi;
fi;
env:
global:
- secure: "R+NxqtytOslIcQ/eCbLoZhImsgYdJnljfjANdieFQGune9ACPPQL0YanXkF49c9SWGBSxrAcute0egQzv2CU2+ivSQIX/xnMebKHiOmSPYBoxX+VgxLT3U1itUYlpYwixo9rF8UnGdlgXid6oENSiCvfWtNKoM2qOL0Ttw31J9E="
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++-7-dev
- g++-7
- libncursesw5-dev
coverity_scan:
project:
name: "mawww/kakoune"
description: "Build submitted via Travis CI"
notification_email: frrrwww@gmail.com
build_command_prepend: "cd src && make clean"
build_command: "make -j4"
branch_pattern: coverity-scan
script: cd src && make && make test