forked from FRC-Utilities/QDriverStation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (29 loc) · 1.33 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
# Travis build configuration
# --------------------------
#
# Do not use these package names if you want to compile the QDriverStation
# by yourself. Travis uses Ubuntu 14.04 (and/or 12.04), and some of the
# package names have changed.
#
# For a more up-to-date dependency listing, see etc/deploy/linux/snapcraft
# to get the build and deploy dependencies
#
language: cpp
compiler: gcc
dist: trusty
sudo: required
before_install:
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa
- sudo apt update -qq
install:
- sudo apt install -y --force-yes xbitmaps xterm python-software-properties build-essential g++-4.8 -y
- sudo apt install -y --force-yes xorg-dev libudev-dev libts-dev libgl1-mesa-dev libglu1-mesa-dev libasound2-dev libpulse-dev -y
- sudo apt install -y --force-yes libopenal-dev libogg-dev libvorbis-dev libaudiofile-dev libpng12-dev libfreetype6-dev -y
- sudo apt install -y --force-yes libegl1-mesa-dev libsdl2-dev libusb-dev libdbus-1-dev zlib1g-dev libdirectfb-dev -y
- sudo apt install -y --force-yes qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev libqt5gui5 qttools5-dev-tools qttools5-dev qtmultimedia5-dev
script:
- qmake -qt=qt5 QDriverStation.pro
- make -j4
- sudo make install