forked from androguard/androguard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (33 loc) · 1.05 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
language: python
dist: xenial
# Download jadx decompiler
before_script:
- wget https://github.com/skylot/jadx/releases/download/v0.9.0/jadx-0.9.0.zip -O /tmp/jadx-0.9.0.zip
- unzip /tmp/jadx-0.9.0.zip -d jadx-0.9.0
- export PATH=$PATH:$PWD/jadx-0.9.0/bin
python:
- "3.6"
- "3.7"
- "3.5"
- "3.4"
- "3.8-dev"
# command to install dependencies
install:
- "pip install .[tests,docs,magic]"
# command to run tests
script:
- nosetests --with-coverage --with-timer --timer-top-n 50 --logging-level CRITICAL
# FIXME Testing the scripts - crude ;) there should be a better way...
- for f in $(find ./ -! -path \*signing\* -name \*.apk); do
echo "testing $f";
androsign $f > /dev/null || true;
androaxml -i $f > /dev/null || true;
androaxml -i $f -o /dev/null || true;
androarsc -i $f > /dev/null || true;
androarsc -i $f -o /dev/null || true;
androarsc -i $f -t string> /dev/null || true;
androarsc -i $f -t string -o /dev/null || true;
done
- python setup.py build_sphinx
after_success:
- codecov