Skip to content

Commit

Permalink
added Travis CI integration
Browse files Browse the repository at this point in the history
  • Loading branch information
gpakosz committed May 24, 2014
1 parent 7f96209 commit 9063eb3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
@@ -0,0 +1,11 @@
language: cpp
compiler:
- clang
- gcc
env:
- TARGET=build
- TARGET=test
- TARGET=preprocess
- TARGET=cut
- TARGET=assembly
script: make -j -C ./_gnu-make $TARGET
2 changes: 1 addition & 1 deletion README.md
@@ -1,5 +1,5 @@
# PackedArray: random access array of tightly packed unsigned integers

[![Build Status](https://travis-ci.org/gpakosz/PackedArray.png?branch=master)](https://travis-ci.org/gpakosz/PackedArray)
## TLDR

*PackedArray comes to the rescue when you're in a desperate need for an uint9_t
Expand Down
2 changes: 1 addition & 1 deletion _gnu-make/Makefile
Expand Up @@ -68,7 +68,7 @@ test-$(1): build-$(1)
preprocess: preprocess-$(1)
preprocess-$(1): $(srcdir)/$(1).c
@echo Preprocessing $(1).c to $(1).pp.c
$$(eval tmp := $$(shell mktemp -t $(1)))
$$(eval tmp := $$(shell mktemp -t $(1)XXX))
@sed -E\
-e 's/#include (<|").+(>|")/pp(&)/'\
$(srcdir)/$(1).c > $$(tmp)
Expand Down

0 comments on commit 9063eb3

Please sign in to comment.