-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (32 loc) · 785 Bytes
/
Copy path.travis.yml
File metadata and controls
32 lines (32 loc) · 785 Bytes
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
sudo: true
language: c
compiler:
- gcc-4.9
- gcc-5
- gcc-6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- gcc-5
- gcc-6
install:
- sudo add-apt-repository ppa:dns/gnu -y
- sudo apt-get update -qq
- sudo apt-get install autotools-dev autoconf
- sudo apt-get install liblog4c-dev
- mkdir cmocka && cd cmocka
- wget http://launchpadlibrarian.net/291735619/libcmocka0_1.0.1-3_amd64.deb
- wget http://launchpadlibrarian.net/291735617/libcmocka-dev_1.0.1-3_amd64.deb
- sudo dpkg -i libcmocka0_1.0.1-3_amd64.deb
- sudo dpkg -i libcmocka-dev_1.0.1-3_amd64.deb
- cd ..
# After version 8, we should not require overcommit memory anymore
# before_script:
# - sudo sysctl vm.overcommit_memory=1
script:
- autoreconf -vif
- ./configure
- make check