Fix Travis script
I also apparently managed to speed up macOS compilation from 13 minutes to 5.
This commit is contained in:
parent
808a437ec2
commit
10caae5e74
1 changed files with 0 additions and 12 deletions
12
.travis.yml
12
.travis.yml
|
@ -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}
|
||||||
|
|
Loading…
Add table
Reference in a new issue