Commit 63910db3 authored by Jonah Brüchert's avatar Jonah Brüchert 🌳 Committed by Ellenjott [LNJ]

Travis-CI: Use backports to not use docker (#149)

Now travis will build on the native Ubuntu 14.04 (trusty) system, but with new Qt and gloox packages.
parent d8d48377
language: cpp
compiler: gcc
sudo: required
dist: trusty
services:
- docker
before_install:
- docker pull debian:sid-slim
install:
- ./utils/travis-dependencies.sh
script:
- docker run -v $PWD:/mnt/kaidan debian:sid-slim /bin/bash -c "cd /mnt/kaidan/utils; ./travis-dependencies.sh; ./travis-build.sh"
- cd utils
- source /opt/qt*/bin/qt*-env.sh
- ./travis-build.sh
......@@ -4,27 +4,38 @@ echo "*****************************************"
echo "Fetching dependencies"
echo "*****************************************"
apt update
sudo apt-get update
apt install software-properties-common dirmngr gnupg ca-certificates -y
sudo apt-get install software-properties-common dirmngr gnupg ca-certificates wget -y
apt-key adv --recv-key "210EB0BCA70439F0"
echo deb https://raw.githubusercontent.com/kaidanim/packages/master sid main >> /etc/apt/sources.list
# Trusty backports
sudo bash -c "echo deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse >> /etc/apt/sources.list"
apt update
apt install cmake \
# Qt 5.9 repository
sudo add-apt-repository ppa:beineri/opt-qt593-trusty -y
sudo apt-get update
sudo apt install cmake \
build-essential \
ninja-build \
zlib1g-dev \
libgloox-dev \
libqt5quick5 \
libqt5quickcontrols2-5 \
libqt5quickwidgets5 \
libqt5qml5 \
libqt5gui5 \
libqt5core5a \
qtdeclarative5-dev \
qttools5-dev \
qt5-default \
qtquickcontrols2-5-dev \
kirigami2-dev -y
qt59base \
qt59script \
qt59declarative \
qt59tools \
qt59x11extras \
qt59svg \
qt59quickcontrols2 \
-y -t trusty-backports
# KF5
wget -c "https://github.com/JBBgameich/precompiled-kf5-linux/releases/download/KF5.40/kf5.40-gcc6-linux64-release.tar.xz"
tar xf kf5.40-gcc6-linux64-release.tar.xz
sudo cp -rf kf5-release/* /opt/qt*/
# Gloox
wget -c "https://github.com/JBBgameich/precompiled-kf5-linux/releases/download/KF5.40/libgloox17_1.0.20-1_amd64.deb"
wget -c "https://github.com/JBBgameich/precompiled-kf5-linux/releases/download/KF5.40/libgloox-dev_1.0.20-1_amd64.deb"
sudo dpkg -i libgloox*.deb
rm libgloox*.deb
sudo apt install -f -y
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment