travis: cache 7z SFX

This commit is contained in:
Alam Ed Arias 2016-02-05 23:19:38 -05:00
parent 7c1f1d9c8e
commit 6d26a60cbe
1 changed files with 6 additions and 11 deletions

View File

@ -1,5 +1,4 @@
language: c
sudo: required
dist: trusty
@ -10,6 +9,10 @@ compiler:
- gcc
- clang
cache:
directories:
- $HOME/srb2_cache
addons:
apt:
packages:
@ -19,20 +22,12 @@ addons:
- libgme-dev
- p7zip-full
before_install:
- cmake --version
before_script:
- mkdir cache
- wget http://rosenthalcastle.org/srb2/SRB2-v2114-Installer.exe -c -O cache/SRB2-v2114-Installer.exe
- 7z x cache/SRB2-v2114-Installer.exe -oassets
- wget http://rosenthalcastle.org/srb2/SRB2-v2114-Installer.exe -c -O $HOME/srb2_cache/SRB2-v2114-Installer.exe
- 7z x $HOME/srb2_cache/SRB2-v2114-Installer.exe -oassets
- mkdir build
- cd build
- cmake ..
script: make
cache:
directories:
- $HOME/.ccache
- cache