path: root/testing/source/vtown/deps/cryfs/.travisci/
blob: 9057a75b9aea9424f675aa69eff52d6ef0ff6544 (plain) (tree)


set -e

# Install newer GCC if we're running on GCC
if [ "${CXX}" == "g++" ]; then
    # We need to uninstall oclint because it creates a /usr/local/include/c++ symlink that clashes with the gcc5 package
    # see
    brew cask uninstall oclint
    brew install gcc@7

brew cask install osxfuse
brew install libomp

# By default, travis only fetches the newest 50 commits. We need more in case we're further from the last version tag, so the build doesn't fail because it can't generate the version number.
git fetch --unshallow --tags

# Setup ccache
brew install ccache