summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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