travis-ci: There is no files option in cache

The error was

cache: unknown key files (isetup-5.5.6.exe)
This commit is contained in:
Jakub Jelen 2020-03-03 10:09:38 +01:00 committed by Frank Morgner
parent b8d9b840ee
commit f301ec98b6
1 changed files with 4 additions and 2 deletions

View File

@ -99,8 +99,11 @@ before_script:
if [ ! -f "$(winepath 'C:/Program Files (x86)/Inno Setup 5/ISCC.exe')" ]; then
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16;
export DISPLAY=:99.0;
[ -d isetup ] || mkdir isetup;
pushd isetup;
[ -f isetup-5.5.6.exe ] || wget http://files.jrsoftware.org/is/5/isetup-5.5.6.exe;
wine isetup-5.5.6.exe /SILENT /VERYSILENT /SP- /SUPPRESSMSGBOXES /NORESTART;
popd;
fi;
unset CC;
unset CXX;
@ -318,5 +321,4 @@ cache:
- $HOME/Library/Caches/Homebrew
- openssl_bin
- openpace_bin
files:
- isetup-5.5.6.exe
- isetup