summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien (jvoisin) Voisin2016-02-24 10:47:22 +0100
committerJulien (jvoisin) Voisin2016-03-23 17:36:50 +0100
commit7bc804b2d211726893404c86f1a32f17be4edf87 (patch)
tree3f1f262b67ab751cf93cb4ff46eb17e0f7c77720
parent620ec0de2e39a7b0db8cbae75e16de455a7229fc (diff)
Add a travis file
-rw-r--r--.travis.yml13
-rw-r--r--Makefile2
2 files changed, 14 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..9fb27eb
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,13 @@
1language: c
2
3install:
4 - git clone --depth 1 https://github.com/plusvic/yara.git yara3
5 - cd yara3
6 - bash ./build.sh
7 - ./configure
8 - make
9 - cp ./yara ../php-malware-finder/
10 - cd ..
11
12script:
13 - make tests
diff --git a/Makefile b/Makefile
index af87788..c57ef4d 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ VERSION=1.0
2DEBVER := $(shell cut -d'.' -f1 < /etc/debian_version) 2DEBVER := $(shell cut -d'.' -f1 < /etc/debian_version)
3 3
4tests: 4tests:
5 @cd ./php-malware-finder && ./tests.sh 5 @cd ./php-malware-finder && bash ./tests.sh
6 6
7clean: 7clean:
8 rm -rf php-malware-finder/debian 8 rm -rf php-malware-finder/debian