Fix travis.
This commit is contained in:
parent
e7c3ce3aa4
commit
daf8fb6889
20
.travis.yml
20
.travis.yml
|
@ -1,19 +1,33 @@
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- env: PLATFORM='linux64'
|
- env: PLATFORM='linux64'
|
||||||
os: linux
|
os: linux
|
||||||
dist: xenial
|
dist: xenial
|
||||||
sudo: required
|
|
||||||
compiler: clang
|
compiler: clang
|
||||||
language: cpp
|
language: cpp
|
||||||
|
sudo: require
|
||||||
cache:
|
cache:
|
||||||
ccache: true
|
ccache: true
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.ccache
|
- $HOME/.ccache
|
||||||
- $HOME/.cache/apt
|
- $HOME/.cache/apt
|
||||||
|
before_install:
|
||||||
|
- mkdir -p $HOME/.cache/apt/partial
|
||||||
|
- sudo rm -rf /var/cache/apt/archives
|
||||||
|
- sudo ln -s $HOME/.cache/apt /var/cache/apt/archives
|
||||||
|
- sudo add-apt-repository ppa:beineri/opt-qt-5.11.1-xenial -y
|
||||||
|
- sudo apt-get update
|
||||||
|
install:
|
||||||
|
- sudo apt-get -y install libjack0 libjack-dev nasm ccache qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 qt511imageformats qt511svg libgl1-mesa-dev checkinstall
|
||||||
|
- sudo apt-get build-dep libmpv1
|
||||||
|
- source /opt/qt*/bin/qt*-env.sh
|
||||||
script:
|
script:
|
||||||
- bash scripts/ci-${PLATFORM}.sh
|
- bash scripts/build-mpv.sh
|
||||||
|
- bash scripts/makeappimage.sh
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- bash scripts/upload.sh
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in a new issue