-
Notifications
You must be signed in to change notification settings - Fork 311
/
.travis.yml
39 lines (39 loc) · 1.77 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
language: python
sudo: required
dist: bionic
group: edge
cache:
pip: true
python:
- 3.6
- 3.8
before_install:
- sudo apt-get update -qq
- sudo apt-get install automake libtool make gcc libmagic-dev -yqq python3-pip unzip upx
- wget https://github.com/VirusTotal/yara/archive/v4.0.0.tar.gz
- tar -xzvf v4.0.0.tar.gz
- cd yara-4.0.0/ && ./bootstrap.sh && ./configure --enable-dotnet --enable-magic
&& make && sudo make install && cd ../
- git clone --recursive https://github.com/VirusTotal/yara-python
- pip3 install pytest codecov pytest-cov
- cd yara-python
- python setup.py build --enable-magic --enable-dotnet
- python setup.py install && cd ../ && rm -rf yara-python && rm -rf yara-4.0.0/
- wget https://github.com/kevthehermit/malconf-samples/archive/master.zip && unzip master.zip && mv malconf-samples-master tests/samples/ && rm master.zip
install:
- pip install -r requirements.txt
- pip install -e .
script:
- malconf
- pytest -v --cov=malwareconfig
after_success:
- python setup.py sdist
- codecov
deploy:
provider: pypi
user: "__token__"
password:
secure: Uy2IiRInZZngLLOZR0rAEVPmEDHhe/0xLjeROUioARra3DSAtfHnDA6WBrN4QqEelMEcsz5BKqgfN4zhagzJ8Xe3fOCenLWulsHeQCRqfhoJvtAwUhtt21cJ675qopS9DeI21ENxxlyf7KvCGcMnA8W2NlStbvWo+J8eRHjX2OBtulbpnE+AmZfqzEC8Vj32wCKSzzuECnjA+1EZPszotFwuJJiz/TUnX/4ZNh03FKnySnN9ieszpSSfc8rOp0iGaZAm4+K6lePd9ymeTg7C7JIOgoQl1cYKmec+5C4HKS7P8QQ4CZfS6jj0HwmFIa47xS7APFND1F/AczrNZUwIVY7WLvAgWmw/OX6OuJ5zQ3bwGNz27ev/PwZ55FiDU8c8iSiJUAOSvwCqS9TSlXtLjqT9vVhwfWwvjrFXSE+qCrfYzkNittrekqP1QWuowgaIcevKtPLY4i5ClznySPioDek/qhgVy4KCrGtHuV3V1s2Z8/scMLHm0gRCY34TA9AeXLfcnQuL/VPP9LnocCf48bBdqywge+s+bmJVyQoxfrEkYLPGpLXP7eu7SPKJaJzwfYQi+7ULqs/ycCi7GfxHqfqsKbExggQpx/1RVgb7Om5yQ/jrKAf/HCTMl1O8edqjBRlCw5uMx4dxI6cjVMH1dVjfi0qW7OUpK5AAxlHRhoo=
on:
branch: master
skip_existing: true