summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 66010f39459e6229b8b306b686748230e54eb87a (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
37
38
39
40
# 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
#     - coreutils
#   update: true

before_install:
    - if [ ${TRAVIS_OS_NAME} = "osx" ]; then HOMEBREW_NO_AUTO_UPDATE=1 brew install doxygen tree md5sha1sum; fi

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