Skip to content
Permalink
Browse files

travis: some improvements

  • Loading branch information...
illwieckz committed Jul 6, 2019
1 parent f848cb5 commit a980dff6cab4330ab6fff4672b29e3f687772551
Showing with 3 additions and 4 deletions.
  1. +3 −4 .travis.yml
@@ -32,18 +32,17 @@ install:
libogg-dev libvorbis-dev libopusfile-dev libtheora-dev
libwebp-dev libjpeg8-dev libpng-dev
libfreetype6-dev libglew-dev libopenal-dev
liblua5.2-dev;
liblua5.2-dev ninja-build;
fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
sudo apt-get -y -q --no-install-recommends install ninja-build;
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then
brew install ccache ninja;
fi
- |
# workarounds to make ccache work
if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$CXX" == "clang++" ]; then
sudo ln -s $(which ccache) /usr/lib/ccache/clang
sudo ln -s $(which ccache) /usr/lib/ccache/clang++
elif [ "$TRAVIS_OS_NAME" == "osx" ]; then
brew install ccache ninja
export PATH="/usr/local/opt/ccache/libexec:$PATH"
fi

0 comments on commit a980dff

Please sign in to comment.
You can’t perform that action at this time.