Skip to content

Commit

Permalink
add .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Duncaen committed Mar 30, 2017
1 parent 914c0d7 commit d267704
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: c

os:
- linux
- osx

compiler:
- clang
- gcc

script:
- case "$(uname)" in
Linux) make CFLAGS="-g -O2 -Wall -Wno-switch -Wextra -D_FORTIFY_SOURCE=2" && make check || exit 1 ;;
Darwin) make LDLIBS=-liconv && make check || exit 1 ;;
esac

notifications:
email: false

0 comments on commit d267704

Please sign in to comment.