travis: Clean up.

This commit is contained in:
orbea 2019-10-07 09:20:03 -07:00 committed by Rafael Kitover
parent 65fceab75a
commit 6cc00a09fe
1 changed files with 5 additions and 7 deletions

View File

@ -41,6 +41,9 @@ before_install:
- |
if [ "$BUILD_ENV" != libretro ]; then
./installdeps $ARG
DIR=build
else
DIR=src/libretro
fi
before_script:
@ -48,15 +51,10 @@ before_script:
if [ -n "$ENABLE_SDL" ]; then
CMAKE_ARGS="$CMAKE_ARGS -DENABLE_SDL=ON"
fi
- |
if [ "$BUILD_ENV" = libretro ]; then
cd src/libretro
else
mkdir -p build
cd build
fi
script:
- mkdir -p -- "$DIR"
- cd -- "$DIR"
- if [ "$BUILD_ENV" != libretro ]; then $CMAKE $CMAKE_ARGS ..; fi
- make
- |