diff --git a/.travis.yml b/.travis.yml index 62ad9b9..f2ed04e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,9 @@ matrix: sudo: required osx_image: xcode6.4 before_install: autobuild/osx/brew/install-requirements-osx.sh + install: + - brew install ccache + - export PATH="/usr/local/opt/ccache/libexec:$PATH" before_script: ccache -s script: autobuild/osx/brew/synfigstudio-osx-build.sh after_script: ccache -s # show ccache stats diff --git a/autobuild/osx/brew/Brewfile b/autobuild/osx/brew/Brewfile new file mode 100644 index 0000000..2bfdbdb --- /dev/null +++ b/autobuild/osx/brew/Brewfile @@ -0,0 +1,14 @@ +brew "autoconf" +brew "automake" +brew "boost" +brew "cairo" +brew "fftw" +brew "gettext" +brew "glibmm" +brew "gtkmm3" +brew "intltool" +brew "libtool" +brew "libxml++" +brew "mlt" +brew "pango" +brew "pkg-config" diff --git a/autobuild/osx/brew/install-requirements-osx.sh b/autobuild/osx/brew/install-requirements-osx.sh index 12615e6..21995d9 100755 --- a/autobuild/osx/brew/install-requirements-osx.sh +++ b/autobuild/osx/brew/install-requirements-osx.sh @@ -2,4 +2,6 @@ # zlib not required because it already part of OSX # disable brew auto-update for travis-ci -HOMEBREW_NO_AUTO_UPDATE=1 brew install autoconf automake libtool intltool gettext pkg-config glibmm libxml++ cairo fftw pango mlt boost gtkmm3 +SCRIPT_PATH=$(cd `dirname "$0"`; pwd) +HOMEBREW_NO_AUTO_UPDATE=1 brew bundle -no-upgrade --file=$SCRIPT_PATH/Brewfile +#install autoconf automake libtool intltool gettext pkg-config glibmm libxml++ cairo fftw pango mlt boost gtkmm3 diff --git a/autobuild/osx/brew/synfigstudio-osx-build.sh b/autobuild/osx/brew/synfigstudio-osx-build.sh index 58ddad9..eb7d573 100755 --- a/autobuild/osx/brew/synfigstudio-osx-build.sh +++ b/autobuild/osx/brew/synfigstudio-osx-build.sh @@ -53,7 +53,7 @@ travis_fold_end() -enable_ccache +# enable_ccache # move to synfig root dir pushd "$SCRIPT_PATH/../../../"