mirror of
https://github.com/glest/glest-source.git
synced 2025-08-23 00:12:49 +02:00
tidy up .travis.yml some more
This commit is contained in:
@@ -66,7 +66,6 @@ script: |
|
||||
mkdir build;
|
||||
cd build;
|
||||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr;
|
||||
|
||||
fi
|
||||
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
||||
mkdir build;
|
||||
@@ -80,11 +79,12 @@ script: |
|
||||
mkdir build;
|
||||
cd build;
|
||||
cmake .. -DFORCE_EMBEDDED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr;
|
||||
|
||||
fi
|
||||
|
||||
make -j$(nproc) && make install DESTDIR=../Glest;
|
||||
cd ..;
|
||||
rm -rf build;
|
||||
# Get the data for the appimage build.
|
||||
git clone https://github.com/glest/glest-data.git;
|
||||
mkdir build;
|
||||
cd build;
|
||||
@@ -95,6 +95,7 @@ script: |
|
||||
# Remove useless metainfo.
|
||||
rm Glest/usr/share/metainfo/io.glest.Editor.appdata.xml;
|
||||
find Glest/;
|
||||
# Build the appimage.
|
||||
export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/pulseaudio/:/usr/lib/i386-linux-gnu/pulseaudio/:$LD_LIBRARY_PATH;
|
||||
wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage";
|
||||
chmod a+x linuxdeployqt-continuous-x86_64.AppImage;
|
||||
@@ -128,6 +129,7 @@ after_success:
|
||||
- ./send.sh success $WEBHOOK_URL
|
||||
|
||||
after_failure:
|
||||
# Notify discord.
|
||||
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
|
||||
- chmod +x send.sh
|
||||
- ./send.sh failure $WEBHOOK_URL
|
||||
|
Reference in New Issue
Block a user