-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
circle.yml
22 lines (22 loc) · 824 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
machine:
post:
- pyenv global 2.7.12 3.6.2
dependencies:
pre:
- pip install --upgrade pip
- pip3 install --upgrade pip
- pip install hacking
- pip3 install hacking
test:
override:
- REPO=PythonCharmers/python-future
- URL=https://github.com/${REPO}
- echo "${URL} --> ./${REPO}..."
# - git clone --depth=50 ${URL} ./${REPO} # --branch=master
- pwd
- cd ./${REPO}
- pwd
- python2.7 -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
- python2.7 -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- python3.6 -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
- python3.6 -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics