diff options
| author | Julien (jvoisin) Voisin | 2016-02-24 10:47:22 +0100 |
|---|---|---|
| committer | Julien (jvoisin) Voisin | 2016-03-23 17:36:50 +0100 |
| commit | 7bc804b2d211726893404c86f1a32f17be4edf87 (patch) | |
| tree | 3f1f262b67ab751cf93cb4ff46eb17e0f7c77720 | |
| parent | 620ec0de2e39a7b0db8cbae75e16de455a7229fc (diff) | |
Add a travis file
| -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 |
