[Travis] Only do make install if the build has changed.

This commit is contained in:
Maschell 2018-03-04 18:31:53 +01:00
parent dd3d3946f9
commit 8bf5534ce8

View File

@ -41,14 +41,14 @@ install:
- perl devkitPPCupdate.pl - perl devkitPPCupdate.pl
- perl devkitARMupdate.pl - perl devkitARMupdate.pl
- cd $PORTLIBREPOS - cd $PORTLIBREPOS
- ((git clone https://github.com/Maschell/dynamic_libs.git -b lib && (7z x -y ./dynamic_libs/libs/portlibs.zip -o${DEVKITPRO})) || (cd dynamic_libs && git pull)) && (cd dynamic_libs && make -j8 && make install) - ((git clone https://github.com/Maschell/dynamic_libs.git -b lib && (7z x -y ./dynamic_libs/libs/portlibs.zip -o${DEVKITPRO})) || (cd dynamic_libs && git pull)) && (cd dynamic_libs && (make -j8 | grep -c "built ... libdynamiclibs.a") && make install)
- (git clone https://github.com/dimok789/libiosuhax.git || (cd libiosuhax && git pull)) && (cd libiosuhax && make -j8 && make install) - (git clone https://github.com/dimok789/libiosuhax.git || (cd libiosuhax && git pull)) && (cd libiosuhax && make -j8 && make install)
- (git clone https://github.com/aliaspider/libfat.git || (cd libfat && git pull)) && (cd libfat && make wiiu-release && make wiiu-install) - (git clone https://github.com/aliaspider/libfat.git || (cd libfat && git pull)) && (cd libfat && make wiiu-release && make wiiu-install)
- (git clone https://github.com/Maschell/libntfs-wiiu.git || (cd libntfs-wiiu && git pull)) && (cd libntfs-wiiu && make wiiu-install) - (git clone https://github.com/Maschell/libntfs-wiiu.git || (cd libntfs-wiiu && git pull)) && (cd libntfs-wiiu && make wiiu-install)
- (git clone https://github.com/Maschell/libutils.git || (cd libutils && git pull)) && (cd libutils && make -j8 && make install) - (git clone https://github.com/Maschell/libutils.git || (cd libutils && git pull)) && (cd libutils && (make -j8 | grep -c "built ... libutils.a") && make install)
- ((git clone https://github.com/Maschell/libgui.git && (7z x -y ./libgui/libs/portlibs.zip -o${DEVKITPRO})) || (cd libgui && git pull)) && (cd libgui && make -j8 && make install) - ((git clone https://github.com/Maschell/libgui.git && (7z x -y ./libgui/libs/portlibs.zip -o${DEVKITPRO})) || (cd libgui && git pull)) && (cd libgui && make -j8 && (make | grep -c "built ... libgui.a") && make install)
- (git clone https://github.com/Maschell/fs_wrapper.git || (cd fs_wrapper && git pull)) && (cd fs_wrapper && make -j8 && make install) - (git clone https://github.com/Maschell/fs_wrapper.git || (cd fs_wrapper && git pull)) && (cd fs_wrapper && make -j8 && (make | grep -c "built ... libfswrapper.a") && make install)
- (git clone https://github.com/Maschell/controller_patcher.git || (cd controller_patcher && git pull)) && (cd controller_patcher && make -j8 && make install) - (git clone https://github.com/Maschell/controller_patcher.git || (cd controller_patcher && git pull)) && (cd controller_patcher && make -j8 && (make | grep -c "built ... libcontrollerpatcher.a") && make install)
script: script:
- cd $main_cwd - cd $main_cwd