1
0
Fork 0
VideoPlayer/.travis.yml

38 lines
1,003 B
YAML
Raw Normal View History

2018-11-05 13:30:33 +00:00
language: cpp
compiler: gcc
2018-10-23 16:20:14 +01:00
sudo: require
2018-12-22 12:37:07 +00:00
dist: trusty
2018-11-05 13:30:33 +00:00
cache:
ccache: true
directories:
- $HOME/.ccache
- $HOME/.cache/apt
#- $HOME/.cache/mpv-build
2018-10-23 15:54:42 +01:00
2018-10-23 16:20:14 +01:00
before_install:
2018-11-05 13:30:33 +00:00
- mkdir -p $HOME/.cache/apt/partial
- sudo rm -rf /var/cache/apt/archives
- sudo ln -s $HOME/.cache/apt /var/cache/apt/archives
2018-12-22 12:37:07 +00:00
- sudo add-apt-repository ppa:beineri/opt-qt-5.11.1-trusty -y
2018-11-05 13:30:33 +00:00
- sudo apt-get update
install:
2018-11-07 08:41:21 +00:00
- sudo apt-get -y install ccache qt511-meta-minimal qt511quickcontrols python3-setuptools qt511quickcontrols2 qt511svg libgl1-mesa-dev x11proto-xext-dev libx11-dev qt511x11extras
2018-11-06 11:58:37 +00:00
- sudo apt-get build-dep mpv
2018-11-05 13:30:33 +00:00
- source /opt/qt*/bin/qt*-env.sh
2018-10-23 16:20:14 +01:00
script:
2018-11-06 10:25:26 +00:00
- wget https://github.com/NamedKitten/mpv-builder/releases/download/continuous/deps.tar.xz
- sudo tar xvf deps.tar.xz -C /
2018-11-05 13:30:33 +00:00
- time bash scripts/makeappimage.sh
after_success:
- time bash scripts/upload.sh
2018-10-13 15:38:31 +01:00
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)/
2018-11-05 13:30:33 +00:00