File: .travis.yml

package info (click to toggle)
androguard 3.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 62,444 kB
  • sloc: python: 24,366; xml: 3,187; java: 1,837; makefile: 228; sh: 12
file content (42 lines) | stat: -rw-r--r-- 1,148 bytes parent folder | download | duplicates (2)
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
40
41
42
language: python

# Download jadx decompiler
before_script:
  - wget https://github.com/skylot/jadx/releases/download/v0.8.0/jadx-0.8.0.zip -O /tmp/jadx-0.8.0.zip
  - unzip /tmp/jadx-0.8.0.zip -d jadx-0.8.0
  - export PATH=$PATH:$PWD/jadx-0.8.0/bin

python:
  - "3.6"
  - "3.5"
  - "2.7"
  - "3.4"
  - "nightly"
# command to install dependencies
install:
  - "pip install .[tests,docs]"
# command to run tests
script:
  - nosetests --with-coverage --with-timer --timer-top-n 50 --logging-level CRITICAL
  # Testing the scripts - crude ;)
  - for f in $(find ./ -! -path \*signing\* -name \*.apk); do
      echo "testing $f";
      androsign.py $f > /dev/null || true;
      androaxml.py -i $f > /dev/null || true;
      androaxml.py -i $f -o /dev/null || true;
      androarsc.py -i $f > /dev/null || true;
      androarsc.py -i $f -o /dev/null || true;
      androarsc.py -i $f -t string> /dev/null || true;
      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