Skip to content

Commit

Permalink
[CI] Adds scons dependency in TravisCI file and use homebrew addon fo…
Browse files Browse the repository at this point in the history
…r macOS.
  • Loading branch information
s-vincent committed May 1, 2019
1 parent 5a612b7 commit cccb416
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,29 @@ matrix:
- os: osx
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- boost-latest
packages:
- libboost-all-dev
- libssl-dev
- libcurl4-openssl-dev
- 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
Expand Down

0 comments on commit cccb416

Please sign in to comment.