androguard/.travis.yml
Sebastian Bachmann 1b3f3bbc26 improove travis
2018-03-15 20:13:19 +01:00

46 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 ./ -! -path \*signing\* -name \*.apk); do
echo "testing $f";
androsign.py $f || true > /dev/null;
androaxml.py -i $f || true > /dev/null;
androaxml.py -i $f -o /dev/null || true;
androarsc.py -i $f || true > /dev/null;
androarsc.py -i $f -o /dev/null || true;
androarsc.py -i $f -t string || true > /dev/null;
androarsc.py -i $f -t string -o /dev/null || true;
done
- python setup.py build_sphinx
notifications:
email:
recipients:
- desnos@t0t0.fr
on_success: always
on_failure: always
after_success:
- codecov