Skip to content

Instantly share code, notes, and snippets.

@jasonish
Created April 17, 2018 16:19
Show Gist options
  • Save jasonish/bcb335c81d24f2e47aa75c8faf8b8ab7 to your computer and use it in GitHub Desktop.
Save jasonish/bcb335c81d24f2e47aa75c8faf8b8ab7 to your computer and use it in GitHub Desktop.
ubuntu-common-packages: &ubuntu-common-packages
- libpcre3
- libpcre3-dbg
- libpcre3-dev
- build-essential
- autoconf
- automake
- libtool
- libpcap-dev
- libnet1-dev
- libyaml-0-2
- libyaml-dev
- zlib1g
- zlib1g-dev
- libcap-ng-dev
- libcap-ng0
- make
- libmagic-dev
- libnetfilter-queue-dev
- libnetfilter-queue1
- libnfnetlink-dev
- libnfnetlink0
- libhiredis-dev
- libjansson-dev
- libevent-dev
- libevent-pthreads-2.0-5
- python-yaml
- jq
default-cflags: &default-cflags
- -Wall
- -Wextra
- -Werror
- -Wno-unused-parameter
- -Wno-unused-function
builds:
- name: trusty-gcc-cocci
runner: docker
image: ./docker-ubuntu-1404
dist: ubuntu
dockerfile:
- RUN add-apt-repository -y ppa:npalix/coccinelle
packages:
- *ubuntu-common-packages
- coccinelle
configure-args:
- --enable-unittests
- --enable-coccinelle
cflags:
- *default-cflags
labels:
- ubuntu
- linux
- travis
- cocci
- name: trusty-gcc-ndebug
runner: docker
image: ./docker-ubuntu-1404
dist: ubuntu
packages:
- *ubuntu-common-packages
configure-args:
- --enable-unittests
cflags:
- *default-cflags
- -DNDEBUG
labels:
- ubuntu
- linux
- travis
- ndebug
- name: trusty-gcc-profiling
runner: docker
image: ./docker-ubuntu-1404
dist: ubuntu
packages:
- *ubuntu-common-packages
configure-args:
- --enable-unittests
- --enable-profiling
cflags:
- *default-cflags
labels:
- ubuntu
- linux
- travis
- profiling
- name: trusty-gcc-debug
runner: docker
image: ./docker-ubuntu-1404
dist: ubuntu
packages:
- *ubuntu-common-packages
configure-args:
- --enable-unittests
- --enable-debug
cflags:
- *default-cflags
labels:
- ubuntu
- linux
- travis
- debug
- name: freebsd-11.1-stable
runner: vagrant
image: ./vagrant-freebsd-11.1-stable
labels:
- freebsd
- vagrant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment