forked from intel/parameter-framework-plugins-alsa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (31 loc) · 954 Bytes
/
.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
os: linux
sudo: false
language: cpp
compiler:
- gcc
- clang
env:
global:
- CMAKE_PREFIX_PATH=$HOME/install
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- george-edison55-precise-backports
packages:
- g++-4.8
- cmake-data
- cmake
- libasound2-dev
before_install:
- mkdir $CMAKE_PREFIX_PATH
install:
- wget 'https://github.com/01org/parameter-framework/releases/download/v3.2.6/parameter-framework-3.2.6.0-Linux.tar.gz'
- tar xf parameter-framework-3.2.6.0-Linux.tar.gz --strip-components=1 -C $CMAKE_PREFIX_PATH
before_script:
- export CC=gcc-4.8 CXX=g++-4.8
script:
- ( mkdir -p build/debug && cd build/debug &&
cmake -DCMAKE_BUILD_TYPE=Debug $TRAVIS_BUILD_DIR && make -j$(nproc) )
- ( mkdir build/release && cd build &&
cmake -DCMAKE_BUILD_TYPE=Release $TRAVIS_BUILD_DIR && make -j$(nproc) )