Skip to content

Commit 346f22c

Browse files
authored
Merge pull request #40 from antoinealb/master
Basic Travis CI support
2 parents 4bb65b5 + e935c62 commit 346f22c

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language: cpp
2+
compiler: clang
3+
4+
script:
5+
- examples/build_examples.sh
6+
- examples/example1
7+
- examples/example2

examples/build_examples.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/bin/sh
22

3+
set -e
4+
set -u
5+
cd $(dirname $0)
6+
37
CC=clang
48
CFLAGS="--std=c89 -Werror -Wall -Wextra"
59
CFLAGS="$CFLAGS -funsigned-char"

0 commit comments

Comments
 (0)