Use brew for osx

This commit is contained in:
Stephen G 2019-01-15 15:00:29 -08:00
parent a827f4190c
commit 07935d9bd3
2 changed files with 12 additions and 10 deletions

View File

@ -93,10 +93,13 @@ matrix:
language: generic language: generic
env: SWBASE=/Users/Shared/buildbot/sw SW=$SWBASE/sw PATH=$SW/bin:$PATH env: SWBASE=/Users/Shared/buildbot/sw SW=$SWBASE/sw PATH=$SW/bin:$PATH
# Disabled because harfbuzz is currently broken in brew - os: osx
# - os: osx language: generic
# language: generic addons:
# env: USE_BREW=1 BUILD_PKG=osx-bundle homebrew:
update: true
brewfile: true
env: USE_BREW=1 BUILD_PKG=osx-bundle
env: env:
global: global:
@ -110,12 +113,6 @@ install: |
if [[ "$RUN_FLAKE" == "1" ]]; then pip install flake8; fi if [[ "$RUN_FLAKE" == "1" ]]; then pip install flake8; fi
if [[ "$TRAVIS_OS_NAME" == 'osx' ]]; then if [[ "$TRAVIS_OS_NAME" == 'osx' ]]; then
if [[ "$USE_BREW" == "1" ]]; then if [[ "$USE_BREW" == "1" ]]; then
brew update;
# brew upgrade python;
brew install harfbuzz --without-graphite2 --without-icu4c --without-freetype;
brew install imagemagick
brew install optipng
brew install librsvg
logo/make.py logo/make.py
else else
mkdir -p $SW; mkdir -p $SW;

5
Brewfile Normal file
View File

@ -0,0 +1,5 @@
brew 'imagemagick'
brew 'optipng'
brew 'librsvg'
brew 'harfbuzz'
brew 'python'