ref: cbe6262e740a77df0d93458194f439ea0ba2ef9a
parent: d8d08bf553bdfb4e2358a17ba3f3407cda0e5ee6
author: Clownacy <Clownacy@users.noreply.github.com>
date: Thu Jan 23 10:26:25 EST 2020
Try to fix whatever syntax error Travis isn't... ...telling me about. Also this 50 letter limit is stupid
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,8 +8,18 @@
# 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
+cache:
+ ccache
directories:
- $HOME/AppData/Local/Temp/chocolatey
- /C/tools/msys64
@@ -97,12 +107,3 @@
- travis_retry wget ${DISCORD_SEND_SCRIPT_URL} -O ${DISCORD_SEND_SCRIPT_FILENAME}
- chmod +x ${DISCORD_SEND_SCRIPT_FILENAME}
- ./${DISCORD_SEND_SCRIPT_FILENAME} failure $DISCORD_WEBHOOK_URL
-
-before_cache:
- - |-
- case $TRAVIS_OS_NAME in
- windows)
- # https://unix.stackexchange.com/a/137322/107554
- $msys2 pacman --sync --clean --noconfirm
- ;;
- esac