-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy path.travis.yml
58 lines (50 loc) · 1.26 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
50
51
52
53
54
55
56
57
dist: trusty
sudo: required
language: cpp
cache:
apt: true
addons:
apt:
packages:
- libpcap-dev
- libboost-dev
- libboost-regex-dev
- libboost-program-options-dev
- libexpat-dev
- libncurses5-dev
- libreadline-dev
- texinfo texlive
- python
- libtool
- build-essential
- devscripts
- apt-utils
- lua5.2
- lua5.2-dev
- liblua5.2-dev
- dh-make
- libssl-dev
- gcc
- g++
- libboost-all-dev
- python-simplejson
before_script:
- wget http://luarocks.org/releases/luarocks-2.4.2.tar.gz
- tar xfz luarocks-2.4.2.tar.gz
- (cd luarocks-2.4.2; ./configure --with-lua-include=/usr/include)
- (cd luarocks-2.4.2; make build; sudo make install)
- sudo /usr/local/bin/luarocks --tree=/usr install luajson
- sudo /usr/local/bin/luarocks --tree=/usr install luafilesystem
- sudo /usr/local/bin/luarocks --tree=/usr install lmd5
- sudo /usr/local/bin/luarocks --tree=/usr install luasocket
- sudo /usr/local/bin/luarocks --tree=/usr install uuid
compiler:
- g++
install:
script:
- autoreconf -fi
- ./configure
# Source code builds in Travis, but documentation doesn't. Hence this limits
# the amount of wandering around the directories.
- (cd src; make)
- (cd tests; make check)