mirror of
https://github.com/androguard/androguard.git
synced 2024-11-27 06:50:41 +00:00
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
language: python
|
|
|
|
# Download jadx decompiler
|
|
before_script:
|
|
- wget https://github.com/skylot/jadx/releases/download/v0.6.1/jadx-0.6.1.zip -O /tmp/jadx-0.6.1.zip
|
|
- unzip /tmp/jadx-0.6.1.zip -d jadx-0.6.1
|
|
- export PATH=$PATH:$PWD/jadx-0.6.1/bin
|
|
|
|
python:
|
|
- "3.6"
|
|
- "3.5"
|
|
- "2.7"
|
|
- "3.3"
|
|
- "3.4"
|
|
- "3.7-dev"
|
|
# - "3.8-dev"
|
|
- "nightly"
|
|
# command to install dependencies
|
|
install:
|
|
- "pip install .[tests,docs]"
|
|
# command to run tests
|
|
script:
|
|
- nosetests --with-coverage --with-timer --timer-top-n 50
|
|
# Testing the scripts - crude ;)
|
|
- for f in `find -name \*.apk`; do
|
|
echo "testing $f"
|
|
time ./androaxml.py -i $f > /dev/null;
|
|
time ./androaxml.py -i $f -o /dev/null;
|
|
time ./androarsc.py -i $f > /dev/null;
|
|
time ./androarsc.py -i $f -o /dev/null;
|
|
time ./androarsc.py -i $f -t string > /dev/null;
|
|
time ./androarsc.py -i $f -t string -o /dev/null;
|
|
done
|
|
- python setup.py build_sphinx
|
|
|
|
notifications:
|
|
email:
|
|
recipients:
|
|
- desnos@t0t0.fr
|
|
on_success: always
|
|
on_failure: always
|
|
|
|
after_success:
|
|
- codecov
|