Loopp/.travis.yml

36 lines
1.3 KiB
YAML
Raw Normal View History

2019-04-05 00:40:50 +02:00
sudo: required
language: cpp
dist: xenial
compiler:
- gcc
os:
- linux
2019-04-24 08:29:45 +02:00
env:
2019-04-24 08:35:30 +02:00
- UPLOADTOOL_SUFFIX=$TRAVIS_BRANCH
2019-04-05 00:40:50 +02:00
install:
- echo $HOME
- echo $PWD
- sudo apt-get install libjpeg-dev libsndfile1-dev libsigc++-2.0-dev libfontconfig1-dev libxft-dev libcairo-dev python3-pip python3-setuptools python3-wheel liblo-dev libjack-dev libsamplerate0-dev ninja-build
2019-04-05 00:43:19 +02:00
- if cd ntk; then git pull; else git clone git://git.tuxfamily.org/gitroot/non/fltk.git ntk && cd ntk; fi
2019-04-05 00:40:50 +02:00
- sudo ./waf configure build install && cd ..
- pip3 install meson
script:
- meson --prefix /usr build
2019-04-05 00:40:50 +02:00
- ninja -C build
- ninja -C build test
2019-04-13 08:59:36 +02:00
- DESTDIR=./appdir ninja -C build install ; find ./build/appdir
- wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
- chmod a+x linuxdeployqt-continuous-x86_64.AppImage
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
- ./linuxdeployqt-continuous-x86_64.AppImage build/appdir/usr/share/applications/*.desktop -appimage
after_success:
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
2019-04-13 09:55:59 +02:00
- bash upload.sh Luppp*.AppImage*
2019-04-13 08:59:36 +02:00
branches:
except:
#- Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)/
2019-04-13 09:55:59 +02:00
cache:
2019-04-05 00:40:50 +02:00
directories:
2019-04-13 08:59:36 +02:00
- $HOME/.cache/pip