From 475efcd41c28bfa8058a90a77bc511d1e4d24019 Mon Sep 17 00:00:00 2001 From: Chris Simpkins Date: Sat, 26 Aug 2017 12:59:39 -0400 Subject: [PATCH] modify build testing dependency installs in Travis settings --- .travis.yml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c100f8c6e..2833e97a0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,15 @@ matrix: sudo: required env: - TARGET="lint" + before_script: + - pip install ufolint + - sudo apt-get -qq update + - sudo apt-get install -y shellcheck + script: + - make -j $TARGET + - os: linux + sudo: required + env: - TARGET="build-with-dependencies" before_script: - pip install ufolint @@ -17,7 +26,6 @@ matrix: - os: osx env: - TARGET="lint" - - TARGET="build-with-dependencies" before_install: - brew update - brew install python3 @@ -28,7 +36,18 @@ matrix: - brew install shellcheck script: - make -j $TARGET - + - os: osx + env: + - TARGET="build-with-dependencies" + before_install: + - brew update + - brew install python3 + - brew install pkg-config || brew reinstall pkg-config + - brew link --force pkg-config + - virtualenv env -p python3 + - source env/bin/activate + script: + - make -j $TARGET notifications: email: false