Skip to content

Commit

Permalink
travis: build with different optimization levels
Browse files Browse the repository at this point in the history
Try building with -O2 and -O3.

Signed-off-by: Artem Savkov <[email protected]>
  • Loading branch information
sm00th committed Sep 10, 2020
1 parent 25f1268 commit 78325e4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ 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
Expand Down

0 comments on commit 78325e4

Please sign in to comment.