Skip to content

Commit

Permalink
update travis yml
Browse files Browse the repository at this point in the history
trusty is now the default
move to travis homebrew addon
  • Loading branch information
stephengroat committed Mar 5, 2019
1 parent 7c58317 commit b6d1f39
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .travis.yml
@@ -1,6 +1,5 @@
language: cpp

dist: trusty
sudo: false

os:
Expand All @@ -13,26 +12,12 @@ 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="

before_install: if [ "$CXX" = "g++" ]; then export CXX=g++-7; fi

addons:
apt:
sources:
Expand All @@ -41,6 +26,9 @@ addons:
- libstdc++-7-dev
- g++-7
- libncursesw5-dev
homebrew:
update: true
packages: gcc@7
coverity_scan:
project:
name: "mawww/kakoune"
Expand Down

0 comments on commit b6d1f39

Please sign in to comment.