forked from andryblack/fontbuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
19 lines (16 loc) · 768 Bytes
/
.travis.yml
File metadata and controls
19 lines (16 loc) · 768 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
language: cpp
cache: apt
compiler:
- gcc
env:
- CONFIG=debug QT=qt5 QMAKE=/usr/lib/x86_64-linux-gnu/qt5/bin/qmake
- CONFIG=release QT=qt5 QMAKE=/usr/lib/x86_64-linux-gnu/qt5/bin/qmake
- CONFIG=debug QT=qt4 QMAKE=qmake
- CONFIG=release QT=qt4 QMAKE=qmake
before_install:
- sudo apt-get update -qq
- sh -c "if [ '$QT' = 'qt4' ]; then sudo apt-get install -qq build-essential libqt4-dev zlib1g-dev qt4-dev-tools libqtwebkit-dev; fi"
- sh -c "if [ '$QT' = 'qt5' ]; then sudo apt-add-repository -y ppa:ubuntu-sdk-team/ppa; sudo apt-get update -qq; sudo apt-get install -qq build-essential qtdeclarative5-dev; fi"
script: sh -c "mkdir _build; cd _build; $QMAKE QMAKE_CXX=$CXX CONFIG+=$CONFIG ../FontBuilder.pro && make -j"
os:
- linux