summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: fcbbb5ccfe353d997da5ec5e37d0d67ed1c7b5b1 (plain)
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
# Defaults to GNU GCC and autotools: ./configure && make && make test
language: c

# Use docker for quicker builds, it now allows https://docs.travis-ci.com/user/apt/
sudo: false

compiler:
  - gcc
  - clang

os:
  - linux
  - osx

dist: bionic

addons:
  apt:
    packages:
      - tree
      - doxygen
  homebrew:
    packages:
      - tree
      - doxygen
    update: true

script:
  - ./autogen.sh
  - ./configure --prefix=/ --disable-silent-rules
  - make clean
  - make doc
  - make
  - make release
  - make install-strip DESTDIR=/tmp/libnet
  - tree /tmp/libnet