Skip to content

Commit 78325e4

Browse files
committed
travis: build with different optimization levels
Try building with -O2 and -O3. Signed-off-by: Artem Savkov <asavkov@redhat.com>
1 parent 25f1268 commit 78325e4

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ before_install:
33
- sudo apt-get -qq update
44
- sudo apt-get install -y libelf-dev linux-headers-$(uname -r) shellcheck elfutils
55

6+
jobs:
7+
include:
8+
- name: "Default"
9+
- name: "-O2"
10+
env: CFLAGS="-O2"
11+
- name: "-O3"
12+
env: CFLAGS="-O3"
13+
614
script:
715
- make
816
- make unit

0 commit comments

Comments
 (0)