-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
37 lines (33 loc) · 1.09 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
35
36
37
sudo: required
os: linux
dist: trusty
language: cpp
compiler: gcc
env:
global:
- PROJECT_PRO_FILE="./src/alexa-avs-prototype.pro"
- BUILD_OUTPUT_PATH=${TRAVIS_BUILD_DIR}
- QMAKE_PARAMS="-spec linux-g++"
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
- echo "Installing..."
- sudo apt-get install libcurl4-gnutls-dev
- sudo apt-get install libboost-all-dev
- sudo apt-get install gcc-4.9
- sudo apt-get install g++-4.9
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 100
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 100
- sudo add-apt-repository -y "deb http://de.archive.ubuntu.com/ubuntu artful main restricted universe multiverse"
- sudo apt-get update -qq
- sudo apt-get install libnghttp2-dev
- sudo apt-get install libevent-dev
- sudo apt-get install libmp3lame-dev
- sudo apt-get install libssl-dev
- sudo apt-get install libasound2-dev
script:
- echo "Executing qmake..."
- gcc --version
- qmake ${PROJECT_PRO_FILE} -r ${QMAKE_PARAMS}
- make