Work already dammit
This commit is contained in:
parent
cbe6262e74
commit
05e0b49c29
1 changed files with 16 additions and 16 deletions
32
.travis.yml
32
.travis.yml
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue