forked from NativeScript/nativescript-tooling-qa
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
18 lines (18 loc) · 692 Bytes
/
Copy path.travis.yml
File metadata and controls
18 lines (18 loc) · 692 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
branches:
only:
- master
language: python
python:
- "2.7"
before_install:
- pip install -U pip
install:
- python -m pip install --upgrade pip
- pip install --upgrade -r requirements.txt
script:
- export ANDROID_HOME=$HOME
- python -m nose core_tests/unit
- python -m flake8 --max-line-length=120 core core_tests data products tests
- python -m pylint --disable=locally-disabled --rcfile=.pylintrc core data products
- find core_tests | grep .py | grep -v .pyc | xargs python -m pylint --disable=locally-disabled --rcfile=.pylintrc
- find tests | grep .py | grep -v .pyc | xargs python -m pylint --disable=locally-disabled --min-similarity-lines=15 --rcfile=.pylintrc