forked from mapeditor/tiled
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (26 loc) · 1.01 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
language: cpp
dist: trusty
sudo: true
os: linux
before_install:
- sudo add-apt-repository --yes ppa:beineri/opt-qt58-trusty
- sudo apt-get update -qq
install:
- sudo apt-get -y install qt58base binutils zlib1g-dev libqt5opengl5-dev
script:
- source /opt/*/bin/qt*-env.sh
- qmake -v
- mkdir Tiled ; cd Tiled/
- qmake ../tiled.pro
- make || true # make[1]: /opt/qt57/bin/lrelease: Command not found
- rm -rf src/
- mv bin/* . && rm -r bin/ # Workaround for https://github.com/probonopd/linuxdeployqt/issues/14
- cd ../
- cp LICENSE* COPYING *md Tiled/
- cp ./tiled.desktop Tiled/
- cp ./src/tiled/images/32x32/tiled.png Tiled/
- wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/1/linuxdeployqt-1-x86_64.AppImage"
- chmod a+x linuxdeployqt-1-x86_64.AppImage
- unset LD_LIBRARY_PATH
- ./linuxdeployqt-1-x86_64.AppImage ./Tiled/tiled -appimage -verbose=2
- curl --upload-file $(ls Tiled*.AppImage) https://transfer.sh/Tiled.AppImage # Replace with your deployment mechanism