diff options
| -rw-r--r-- | .travis.yml | 13 | ||||
| -rw-r--r-- | Makefile | 2 |
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 @@ | |||
| 1 | language: c | ||
| 2 | |||
| 3 | install: | ||
| 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 | |||
| 12 | script: | ||
| 13 | - make tests | ||
| @@ -2,7 +2,7 @@ VERSION=1.0 | |||
| 2 | DEBVER := $(shell cut -d'.' -f1 < /etc/debian_version) | 2 | DEBVER := $(shell cut -d'.' -f1 < /etc/debian_version) |
| 3 | 3 | ||
| 4 | tests: | 4 | tests: |
| 5 | @cd ./php-malware-finder && ./tests.sh | 5 | @cd ./php-malware-finder && bash ./tests.sh |
| 6 | 6 | ||
| 7 | clean: | 7 | clean: |
| 8 | rm -rf php-malware-finder/debian | 8 | rm -rf php-malware-finder/debian |
