mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-02 13:53:59 +00:00
Add brew caching
This commit is contained in:
@@ -8,6 +8,10 @@ python:
|
||||
cache:
|
||||
- apt
|
||||
- pip
|
||||
cache:
|
||||
ccache: true
|
||||
directories:
|
||||
- $HOME/Library/Caches/Homebrew
|
||||
env:
|
||||
global:
|
||||
- PIP_INSTALL="pip3 install"
|
||||
@@ -22,7 +26,7 @@ env:
|
||||
matrix:
|
||||
include:
|
||||
- os: osx
|
||||
osx_image: xcode8
|
||||
osx_image: xcode6.4
|
||||
language: generic
|
||||
allow_failures:
|
||||
- os: osx
|
||||
@@ -30,6 +34,9 @@ matrix:
|
||||
before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq && sudo apt-get
|
||||
install -qq transifex-client libdiscid0 libdiscid0-dev qt5-default; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ccache; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH="/usr/local/opt/ccache/libexec:$PATH"; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bash scripts/setup-osx.sh; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source bin/activate; fi
|
||||
|
||||
Reference in New Issue
Block a user