From cccb4162f71d2b8051169b16c7238a8c77e7d5f8 Mon Sep 17 00:00:00 2001 From: Sebastien Vincent Date: Wed, 1 May 2019 17:27:45 +0200 Subject: [PATCH] [CI] Adds scons dependency in TravisCI file and use homebrew addon for macOS. --- .travis.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 24594088..4a30c7ea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,9 +9,6 @@ matrix: - os: osx addons: apt: - sources: - - ubuntu-toolchain-r-test - - boost-latest packages: - libboost-all-dev - libssl-dev @@ -19,20 +16,22 @@ addons: - libminiupnpc-dev - gcc - g++ + - scons - help2man -before_install: - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew list scons &>/dev/null || brew install scons ; fi - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew list boost &>/dev/null || brew install boost ; fi - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew list openssl &>/dev/null || brew install openssl ; fi - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew list miniupnpc &>/dev/null || brew install miniupnpc ; fi - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew list help2man &>/dev/null || brew install help2man ; fi -cache: - apt: true + homebrew: + packages: + - scons + - boost + - openssl + - miniupnpc + - help2man + script: scons install apps samples + branches: only: - master + notifications: email: on_success: change