From 7bc804b2d211726893404c86f1a32f17be4edf87 Mon Sep 17 00:00:00 2001 From: Julien (jvoisin) Voisin Date: Wed, 24 Feb 2016 10:47:22 +0100 Subject: Add a travis file --- .travis.yml | 13 +++++++++++++ Makefile | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9fb27eb --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +language: c + +install: + - git clone --depth 1 https://github.com/plusvic/yara.git yara3 + - cd yara3 + - bash ./build.sh + - ./configure + - make + - cp ./yara ../php-malware-finder/ + - cd .. + +script: + - make tests diff --git a/Makefile b/Makefile index af87788..c57ef4d 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ VERSION=1.0 DEBVER := $(shell cut -d'.' -f1 < /etc/debian_version) tests: - @cd ./php-malware-finder && ./tests.sh + @cd ./php-malware-finder && bash ./tests.sh clean: rm -rf php-malware-finder/debian -- cgit v1.3