Skip to content
This repository was archived by the owner on Feb 9, 2020. It is now read-only.

Commit b449643

Browse files
authored
Feature/testing (#8)
* initial travis.yml with linux and osx testing * update matrix to enforce ubuntu trusty * move zlib1g-dev to trusty packages * treat warnings as errors
1 parent 5db6c29 commit b449643

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
language: c
2+
3+
matrix:
4+
include:
5+
- os: linux
6+
dist: trusty
7+
addons:
8+
apt:
9+
packages:
10+
- zlib1g-dev
11+
- os: osx
12+
13+
compiler: gcc
14+
15+
script:
16+
- cd src
17+
- make

src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CC = gcc
2-
C_FLAGS = -Wall -g -pedantic
2+
C_FLAGS = -Wall -g -pedantic -Werror
33
L_FLAGS = -lz -lpthread
44

55
O_FILES = socket.o io.o strings.o utils.o interpret.o help.o \

0 commit comments

Comments
 (0)