Work already dammit

This commit is contained in:
Clownacy 2020-01-23 15:28:41 +00:00
parent cbe6262e74
commit 05e0b49c29

View file

@ -8,22 +8,6 @@ dist: bionic
# Enable C++ language support
language: cpp
before_cache:
- |-
case $TRAVIS_OS_NAME in
windows)
# https://unix.stackexchange.com/a/137322/107554
$msys2 pacman --sync --clean --noconfirm
;;
esac
# Cache compiled object files with ccache
cache:
ccache
directories:
- $HOME/AppData/Local/Temp/chocolatey
- /C/tools/msys64
compiler:
- gcc
@ -84,6 +68,22 @@ before_install:
- $mingw64 ${CC} --version
- $mingw64 ${CXX} --version
before_cache:
- |-
case $TRAVIS_OS_NAME in
windows)
# https://unix.stackexchange.com/a/137322/107554
$msys2 pacman --sync --clean --noconfirm
;;
esac
# Cache compiled object files with ccache
cache:
# ccache
directories:
- $HOME/AppData/Local/Temp/chocolatey
- /C/tools/msys64
install:
# Get number of cores (or 2 by default if somehow none of these are available somehow)
- JOBS=$(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || getconf _NPROCESSORS_ONLN 2>/dev/null || echo 2)