forked from mawww/kakoune
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (42 loc) · 1.03 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
language: cpp
dist: trusty
sudo: false
os:
- linux
- osx
osx_image: xcode8.3
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++-5;
fi;
elif [ $TRAVIS_OS_NAME = osx ]; then
brew outdated gcc || brew upgrade gcc;
fi;
env:
global:
- secure: "R+NxqtytOslIcQ/eCbLoZhImsgYdJnljfjANdieFQGune9ACPPQL0YanXkF49c9SWGBSxrAcute0egQzv2CU2+ivSQIX/xnMebKHiOmSPYBoxX+VgxLT3U1itUYlpYwixo9rF8UnGdlgXid6oENSiCvfWtNKoM2qOL0Ttw31J9E="
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++-5-dev
- g++-5
- libncursesw5-dev
coverity_scan:
project:
name: "mawww/kakoune"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: "cd src && make clean"
build_command: "make -j4"
branch_pattern: coverity-scan
script: cd src && make && make test