travis: use wget and create cache folder

This commit is contained in:
Alam Ed Arias 2016-02-05 21:15:32 -05:00
parent 59d111b17d
commit e913ca0ca6

View file

@ -14,13 +14,14 @@ addons:
- libpng-dev - libpng-dev
- libgl1-mesa-dev - libgl1-mesa-dev
- libgme-dev - libgme-dev
- p7zip - p7zip-full
before_install: before_install:
- cmake --version - cmake --version
before_script: before_script:
- curl http://rosenthalcastle.org/srb2/SRB2-v2114-Installer.exe -o cache/SRB2-v2114-Installer.exe - make cache
- wget http://rosenthalcastle.org/srb2/SRB2-v2114-Installer.exe -c -O cache/SRB2-v2114-Installer.exe
- 7z x cache/SRB2-v2114-Installer.exe -o assets - 7z x cache/SRB2-v2114-Installer.exe -o assets
- mkdir build - mkdir build
- cd build - cd build