forked from ParaStation/pscom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (46 loc) · 1.18 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
38
39
40
41
42
43
44
45
46
47
48
49
# Use new trusty images, should yield newer compilers and packages
dist: trusty
language: c
sudo: required
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
env:
- COMPILERC=gcc-4.9
- INSTALL_DIR=${HOME}/pscom_build
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
env:
- COMPILERC=gcc-5
- INSTALL_DIR=${HOME}/pscom_build
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
env:
- COMPILERC=gcc-6
- INSTALL_DIR=${HOME}/pscom_build
before_install:
- travis_retry sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa -y
- travis_retry sudo apt-get -qq update -y
- sudo apt-get install libpopt-dev libncurses5-dev libreadline-dev libmosquitto-dev libssl-dev libc-ares-dev uuid-dev
script:
- mkdir build
- cd build
- CC=${COMPILERC} ../configure --prefix=${INSTALL_DIR}
- make
- make install