travis: cache 7z SFX

This commit is contained in:
Alam Ed Arias 2016-02-05 23:19:38 -05:00
parent 7c1f1d9c8e
commit 6d26a60cbe

View file

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