mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
chore(ci): update travis to ubuntu 16.04, since 14.04 is EOL
Ubuntu has Qt 5.5.1 in its repos, so PPA is no longer required.
This commit is contained in:
parent
c20e1c20e3
commit
16de5f8549
|
@ -1,5 +1,5 @@
|
||||||
sudo: required
|
sudo: required
|
||||||
dist: trusty
|
dist: xenial
|
||||||
language: cpp
|
language: cpp
|
||||||
cache: ccache
|
cache: ccache
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ jobs:
|
||||||
# the actual compilin'
|
# the actual compilin'
|
||||||
- stage: Linux
|
- stage: Linux
|
||||||
os: linux
|
os: linux
|
||||||
env: JOB=build-ubuntu-14-04
|
env: JOB=build-ubuntu-16-04
|
||||||
script: "./.travis/$JOB.sh"
|
script: "./.travis/$JOB.sh"
|
||||||
- stage: "Windows Stage 1: Dependencies (OpenSSL, Qt)"
|
- stage: "Windows Stage 1: Dependencies (OpenSSL, Qt)"
|
||||||
os: linux
|
os: linux
|
||||||
|
|
|
@ -19,8 +19,6 @@
|
||||||
# stop as soon as one of steps will fail
|
# stop as soon as one of steps will fail
|
||||||
set -e -o pipefail
|
set -e -o pipefail
|
||||||
|
|
||||||
# Qt 5.5, since that's the lowest supported version
|
|
||||||
sudo add-apt-repository -y ppa:beineri/opt-qt551-trusty
|
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
|
|
||||||
# install needed Qt, OpenAL, opus, qrencode, GTK tray deps, sqlcipher
|
# install needed Qt, OpenAL, opus, qrencode, GTK tray deps, sqlcipher
|
||||||
|
@ -43,16 +41,13 @@ sudo apt-get install -y --force-yes \
|
||||||
libtool \
|
libtool \
|
||||||
libvpx-dev \
|
libvpx-dev \
|
||||||
libxss-dev qrencode \
|
libxss-dev qrencode \
|
||||||
qt55base \
|
qt5-default \
|
||||||
qt55script \
|
qttools5-dev-tools \
|
||||||
qt55svg \
|
qttools5-dev \
|
||||||
qt55tools \
|
libqt5opengl5-dev \
|
||||||
qt55xmlpatterns \
|
libqt5svg5-dev \
|
||||||
pkg-config || yes
|
pkg-config || yes
|
||||||
|
|
||||||
# Qt
|
|
||||||
source /opt/qt55/bin/qt55-env.sh || yes
|
|
||||||
|
|
||||||
# ffmpeg
|
# ffmpeg
|
||||||
if [ ! -e "libs" ]; then mkdir libs; fi
|
if [ ! -e "libs" ]; then mkdir libs; fi
|
||||||
if [ ! -e "ffmpeg" ]; then mkdir ffmpeg; fi
|
if [ ! -e "ffmpeg" ]; then mkdir ffmpeg; fi
|
|
@ -60,7 +60,7 @@ update_flatpak() {
|
||||||
|
|
||||||
update_travis() {
|
update_travis() {
|
||||||
cd .travis
|
cd .travis
|
||||||
perl -i -0pe "s|$VERSION_PATTERN( --depth=1 https://github.com/toktok/c-toxcore)|$@\${1}|gms" build-ubuntu-14-04.sh
|
perl -i -0pe "s|$VERSION_PATTERN( --depth=1 https://github.com/toktok/c-toxcore)|$@\${1}|gms" build-ubuntu-16-04.sh
|
||||||
cd ..
|
cd ..
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user