Fix Travis script

I also apparently managed to speed up macOS compilation from 13
minutes to 5.
This commit is contained in:
Clownacy 2020-07-13 20:30:48 +01:00
parent 808a437ec2
commit 10caae5e74

View file

@ -8,9 +8,6 @@ dist: bionic
# Enable C++ language support # Enable C++ language support
language: cpp language: cpp
# Cache compiled object files with ccache
cache: ccache
osx_image: xcode11.3 osx_image: xcode11.3
compiler: compiler:
@ -45,7 +42,6 @@ addons:
- sdl2 - sdl2
- glfw - glfw
- freetype - freetype
update: true
env: env:
- PLATFORM=SDL2 AUDIO=SDL2 RENDERER=Software - PLATFORM=SDL2 AUDIO=SDL2 RENDERER=Software
@ -116,14 +112,6 @@ install:
# Recommanded build directory # Recommanded build directory
- CMAKE_BUILD_DIR=build - CMAKE_BUILD_DIR=build
# Install ccache on OSX
- |
if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
# This is OSX
brew install ccache
export PATH="/usr/local/opt/ccache/libexec:$PATH"
fi
before_script: before_script:
# Make build directory and generate CMake build files # Make build directory and generate CMake build files
- mkdir -p ${CMAKE_BUILD_DIR} && cd ${CMAKE_BUILD_DIR} - mkdir -p ${CMAKE_BUILD_DIR} && cd ${CMAKE_BUILD_DIR}