kpatch/.travis.yml
Artem Savkov 78325e4651 travis: build with different optimization levels
Try building with -O2 and -O3.

Signed-off-by: Artem Savkov <asavkov@redhat.com>
2020-09-10 10:56:57 +02:00

19 lines
334 B
YAML

language: c
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libelf-dev linux-headers-$(uname -r) shellcheck elfutils
jobs:
include:
- name: "Default"
- name: "-O2"
env: CFLAGS="-O2"
- name: "-O3"
env: CFLAGS="-O3"
script:
- make
- make unit
- make check
- sudo make install