home/.travis.yml

51 lines
1.0 KiB
YAML
Raw Normal View History

2014-11-21 14:23:46 +01:00
language: cpp
2015-08-12 20:17:17 +02:00
dist: trusty
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
2017-10-21 07:10:34 +02:00
osx_image: xcode8.3
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" = "g++" ]; then
2018-07-28 12:04:12 +02:00
export CXX=g++-6;
2016-03-26 00:28:23 +01:00
fi;
2014-12-09 20:23:21 +01:00
elif [ $TRAVIS_OS_NAME = osx ]; then
2016-10-06 14:42:53 +02:00
brew outdated gcc || brew upgrade gcc;
2014-12-09 20:23:21 +01:00
fi;
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:
- ubuntu-toolchain-r-test
packages:
2018-07-28 12:04:12 +02:00
- libstdc++-6-dev
- g++-6
2015-08-12 20:17:17 +02:00
- 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"
2015-10-30 14:13:50 +01:00
build_command: "make -j4"
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