mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Try enabling Travis caching.
This commit is contained in:
parent
efc8a8e353
commit
e2aca38f8b
@ -1,5 +1,6 @@
|
||||
#/bin/bash
|
||||
|
||||
export NDK_CCACHE=ccache
|
||||
NDK_VER=android-ndk-r10d
|
||||
|
||||
download_extract() {
|
||||
@ -85,7 +86,7 @@ travis_script() {
|
||||
# Compile PPSSPP
|
||||
if [ "$PPSSPP_BUILD_TYPE" = "Linux" ]; then
|
||||
if [ "$CXX" = "g++" ]; then
|
||||
export CXX="g++-4.8" CC="gcc-4.8"
|
||||
export CXX="ccache g++-4.8" CC="ccache gcc-4.8"
|
||||
fi
|
||||
|
||||
if [ "$QT" = "TRUE" ]; then
|
||||
@ -123,6 +124,8 @@ travis_script() {
|
||||
}
|
||||
|
||||
travis_after_success() {
|
||||
ccache -s
|
||||
|
||||
if [ "$PPSSPP_BUILD_TYPE" = "Linux" ]; then
|
||||
./test.py
|
||||
fi
|
||||
|
43
.travis.yml
43
.travis.yml
@ -4,20 +4,19 @@ sudo: required
|
||||
|
||||
language: cpp
|
||||
|
||||
os: linux
|
||||
|
||||
dist: trusty
|
||||
|
||||
compiler:
|
||||
- gcc
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- build-essential
|
||||
- libgl1-mesa-dev
|
||||
- libglu1-mesa-dev
|
||||
- cmake
|
||||
|
||||
env:
|
||||
- PPSSPP_BUILD_TYPE=Linux
|
||||
CMAKE=TRUE
|
||||
- PPSSPP_BUILD_TYPE=Android
|
||||
- PPSSPP_BUILD_TYPE=Blackberry
|
||||
CMAKE=TRUE
|
||||
- PPSSPP_BUILD_TYPE=Symbian
|
||||
cache:
|
||||
- apt
|
||||
- ccache
|
||||
|
||||
notifications:
|
||||
irc:
|
||||
@ -30,15 +29,31 @@ notifications:
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- compiler: clang
|
||||
- os: linux
|
||||
compiler: "gcc linux"
|
||||
env: PPSSPP_BUILD_TYPE=Linux
|
||||
CMAKE=TRUE
|
||||
- compiler: gcc
|
||||
- os: linux
|
||||
compiler: "gcc android"
|
||||
env: PPSSPP_BUILD_TYPE=Android
|
||||
- os: linux
|
||||
compiler: "gcc blackberry"
|
||||
env: PPSSPP_BUILD_TYPE=Blackberry
|
||||
CMAKE=TRUE
|
||||
- os: linux
|
||||
compiler: "gcc symbian"
|
||||
env: PPSSPP_BUILD_TYPE=Symbian
|
||||
- os: linux
|
||||
compiler: "clang linux"
|
||||
env: PPSSPP_BUILD_TYPE=Linux
|
||||
CMAKE=TRUE
|
||||
- os: linux
|
||||
compiler: "gcc qt"
|
||||
env: PPSSPP_BUILD_TYPE=Linux
|
||||
QT=TRUE
|
||||
# Can't get iOS to work.
|
||||
# - os: osx
|
||||
# compiler: clang
|
||||
# compiler: "clang ios"
|
||||
# env: PPSSPP_BUILD_TYPE=iOS
|
||||
# CMAKE=TRUE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user