Skip to content

Commit

Permalink
add minimal travis CI build (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
mackenziestarr authored and adsr committed Oct 26, 2018
1 parent 8baaae3 commit 1bab009
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
@@ -0,0 +1,8 @@
before_install:
- sudo add-apt-repository -y ppa:ondrej/php
- sudo apt-get update
- sudo apt-get install -y php7.3-cli
- echo "php_path:=/usr/bin/php7.3" | sudo tee config.mk
before_script: make
script: make test
after_script: make clean
2 changes: 1 addition & 1 deletion Makefile
@@ -1,7 +1,7 @@
phpspy_cflags:=-std=c99 -Wall -Wextra -pedantic -g -Ofast -pthread $(CFLAGS)
phpspy_libs:=$(LDLIBS)
phpspy_ldflags:=$(LDFLAGS)
phpspy_includes:=-I. -Ivendor
phpspy_includes:=-I. -I./vendor -Ivendor/termbox/src
phpspy_defines:=-DUSE_TERMBOX=1
phpspy_tests:=$(wildcard tests/test_*.sh)
phpspy_sources:=phpspy.c pgrep.c top.c addr_libdw.c event_fout.c
Expand Down
2 changes: 1 addition & 1 deletion phpspy.h
Expand Up @@ -25,7 +25,7 @@
#include <unistd.h>

#ifdef USE_TERMBOX
#include <termbox.h>
#include "termbox.h"
#endif

#ifdef USE_ZEND
Expand Down

0 comments on commit 1bab009

Please sign in to comment.