Skip to content

Commit 7613935

Browse files
authored
Remove Travis instructions [ci skip]
travis.org stopped working properly a long time ago
1 parent 6fcaf74 commit 7613935

File tree

1 file changed

+0
-49
lines changed

1 file changed

+0
-49
lines changed

README.md

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -167,55 +167,6 @@ So, on `linuxdeployqt` call: `linuxdeployqt [...] -qtlibinfix "Custom" [...]`.
167167

168168
If you don't mention this infix, `linuxdeployqt` won't be able to detect Qt Core and Widgets libraries.
169169

170-
## Using linuxdeployqt with Travis CI
171-
172-
A common use case for `linuxdeployqt` is to use it on Travis CI after the `make` command. The following example illustrates how to use `linuxdeployqt` with Travis CI. Create a `.travis.yml` file similar to this one (be sure to customize it, e.g., change `APPNAME` to the name of your application as it is spelled in the `Name=` entry of the `.desktop` file):
173-
174-
```
175-
language: cpp
176-
compiler: gcc
177-
sudo: require
178-
dist: trusty
179-
180-
before_install:
181-
- sudo add-apt-repository ppa:beineri/opt-qt-5.10.1-trusty -y
182-
- sudo apt-get update -qq
183-
184-
install:
185-
- sudo apt-get -y install qt510base libgl1-mesa-dev
186-
- source /opt/qt*/bin/qt*-env.sh
187-
188-
script:
189-
- qmake CONFIG+=release PREFIX=/usr
190-
- make -j$(nproc)
191-
- make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/
192-
- wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
193-
- chmod a+x linuxdeployqt-continuous-x86_64.AppImage
194-
# export VERSION=... # linuxdeployqt uses this for naming the file
195-
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage
196-
197-
after_success:
198-
# find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq # for debugging
199-
# curl --upload-file APPNAME*.AppImage https://transfer.sh/APPNAME-git.$(git rev-parse --short HEAD)-x86_64.AppImage
200-
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
201-
- bash upload.sh APPNAME*.AppImage*
202-
203-
branches:
204-
except:
205-
- # Do not build tags that we create when we upload to GitHub Releases
206-
- /^(?i:continuous)/
207-
```
208-
209-
When you save your change, then Travis CI should build and upload an AppImage for you. More likely than not, some fine-tuning will still be required.
210-
211-
For this to work, you need to set up `GITHUB_TOKEN` in Travis CI; please see https://github.com/probonopd/uploadtool.
212-
213-
By default, qmake `.pro` files generated by Qt Creator unfortunately don't support `make install` out of the box. In this case you will get
214-
215-
```
216-
make: Nothing to be done for `install'.
217-
find: `appdir/': No such file or directory
218-
```
219170
### Fix for "make: Nothing to be done for 'install'"
220171

221172
If `qmake` does not allow for `make install` or does not install the desktop file and icon, then you need to change your `.pro` file it similar to https://github.com/probonopd/FeedTheMonkey/blob/master/FeedTheMonkey.pro.

0 commit comments

Comments
 (0)