-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
40 lines (37 loc) · 1.1 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
python:
- "2.7"
before_install:
- mkdir -p $HOME/bin
- wget https://github.com/github/git-lfs/releases/download/v1.5.5/git-lfs-linux-amd64-1.5.5.tar.gz
- tar xvfz git-lfs-linux-amd64-1.5.5.tar.gz
- mv git-lfs-1.5.5/git-lfs $HOME/bin/git-lfs
- export PATH=$PATH:$HOME/bin/
# command to install dependencies
install:
- "pip install ."
- "pip install -r requirements.txt"
- "pip install -r test_requirements.txt"
# command to run tests
before_script:
- git lfs pull
# get some test apks
- git lfs clone https://github.com/nowsecure/test-apks.git examples/NowSecure
- du -sh examples/NowSecure/*.apk
script:
# DEX tests
- python tests/test_dex.py
# Analysis tests
- python tests/test_analysis.py
# APK tests
- python tests/test_apk.py
- python tests/test_axml.py
- python tests/test_arsc.py
# Session tests
- python tests/test_session.py
# DAD tests
- python androguard/decompiler/dad/tests/dataflow_test.py
- python androguard/decompiler/dad/tests/dominator_test.py
- python androguard/decompiler/dad/tests/rpo_test.py
# Extra tests
- python tests/test_ns_apk.py