This commit is contained in:
Michał Janiszewski 2017-12-06 00:10:35 +01:00 committed by Ivan
parent 6e9b064a0f
commit a1fa10ac70

View File

@ -64,12 +64,12 @@ before_script:
else else
export CXXFLAGS="$CXXFLAGS -DBRANCH=$TRAVIS_REPO_SLUG/$TRAVIS_BRANCH/#$TRAVIS_PULL_REQUEST"; export CXXFLAGS="$CXXFLAGS -DBRANCH=$TRAVIS_REPO_SLUG/$TRAVIS_BRANCH/#$TRAVIS_PULL_REQUEST";
fi; fi;
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr; - cmake .. -DCMAKE_INSTALL_PREFIX=/usr -G Ninja;
- make -j 3 - ninja
- # AppImage generation - # AppImage generation
- if [ -n "$UPLOAD_URL" ] && [ "$TRAVIS_BRANCH" = "master" ] && [ "$CC" = "clang-4.0" ] && [ "$TRAVIS_PULL_REQUEST" = false ]; then - if [ -n "$UPLOAD_URL" ] && [ "$TRAVIS_BRANCH" = "master" ] && [ "$CC" = "clang-4.0" ] && [ "$TRAVIS_PULL_REQUEST" = false ]; then
export LD_LIBRARY_PATH=~/Qt/5.9.3/gcc_64/lib; export LD_LIBRARY_PATH=~/Qt/5.9.3/gcc_64/lib;
make DESTDIR=appdir install ; find appdir/ ; DESTDIR=appdir ninja install ; find appdir/ ;
find ../bin ; find ../bin ;
wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" ; wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" ;
chmod a+x linuxdeployqt*.AppImage ; chmod a+x linuxdeployqt*.AppImage ;
@ -103,6 +103,7 @@ addons:
packages: packages:
- binutils - binutils
- cmake - cmake
- ninja-build
- libasound2-dev - libasound2-dev
- libopenal-dev - libopenal-dev
- freeglut3-dev - freeglut3-dev