mirror of
https://github.com/visualboyadvance-m/visualboyadvance-m
synced 2025-10-05 23:52:49 +02:00
travis: Clean up.
This commit is contained in:
12
.travis.yml
12
.travis.yml
@@ -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
|
||||
- |
|
||||
|
Reference in New Issue
Block a user