aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Cholewiński <harry666t@gmail.com>2015-10-10 14:05:48 +0200
committerKamil Cholewiński <harry666t@gmail.com>2015-10-10 14:05:48 +0200
commitf9db6db98cbf0005215a61c3deecff35f1feafa3 (patch)
tree7fe194ea63cb101e35f6929c9474390252d12966
parent7bda967950f5691eea23f41975111ca682c4c834 (diff)
downloadtinyscheme-f9db6db98cbf0005215a61c3deecff35f1feafa3.zip
tinyscheme-f9db6db98cbf0005215a61c3deecff35f1feafa3.tar.gz
tinyscheme-f9db6db98cbf0005215a61c3deecff35f1feafa3.tar.bz2
Hello, Travis
-rw-r--r--.travis.yml13
-rw-r--r--Makefile4
-rw-r--r--readme.md2
3 files changed, 17 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..b807c38
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,13 @@
+language: c
+
+addons:
+ apt:
+ packages:
+ - build-essential
+ - musl-tools
+
+compiler:
+- clang
+# - gcc # disabled until Travis gets newer GCC
+
+script: make test
diff --git a/Makefile b/Makefile
index 29c48a6..072aaa7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
FEATURES ?= -DSUN_DL=1 -DUSE_DL=1 -DUSE_MATH=1 -DUSE_ASCII_NAMES=1
-CC = musl-gcc
+CC ?= musl-gcc
AR = ar crs
INCS = -I.
@@ -12,9 +12,9 @@ else
OPT_FLAGS = -Os
endif
-CPPFLAGS = ${FEATURES}
CFLAGS = -std=gnu11 -fpic -Wall -Wextra -Wpedantic -Werror -Wfatal-errors \
${OPT_FLAGS} ${INCS} ${CPPFLAGS}
+CPPFLAGS = ${FEATURES}
LDFLAGS = -static -s ${LIBS}
SCM = ${shell find . -name "*.scm"}
diff --git a/readme.md b/readme.md
index 705f2ee..f6ede50 100644
--- a/readme.md
+++ b/readme.md
@@ -1,5 +1,7 @@
# TinyScheme
+[![Build status](https://travis-ci.org/rollcat/tinyscheme.svg)](https://travis-ci.org/rollcat/tinyscheme)
+
Original source: <http://tinyscheme.sourceforge.net/>
Hacking and having fun.