Skip to content

Commit 7125885

Browse files
author
cclauss
authored
Let's try with Circle CI v2
1 parent a8068fa commit 7125885

File tree

1 file changed

+36
-29
lines changed

1 file changed

+36
-29
lines changed

circle.yml

Lines changed: 36 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,36 @@
1-
machine:
2-
post:
3-
- pyenv global 2.7 3.5.0
4-
dependencies:
5-
pre:
6-
- pip install --upgrade pip
7-
- pip3 install --upgrade pip
8-
- pip install hacking
9-
- pip3 install hacking
10-
general:
11-
branches:
12-
ignore:
13-
- ggmaster
14-
- hots
15-
- jonomon
16-
- master
17-
- old_master
18-
test:
19-
override:
20-
- python2 -V
21-
- python2 -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
22-
- python2 -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
23-
- python2 -m unittest discover test_replays
24-
- python2 -m unittest discover test_s2gs
25-
- python3 -V
26-
- python3 -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
27-
- python3 -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
28-
- python3 -m unittest discover test_replays
29-
- python3 -m unittest discover test_s2gs
1+
version: 2
2+
jobs:
3+
build:
4+
working_directory: ~/sc2reader
5+
docker:
6+
- image: python:2.7.13
7+
steps:
8+
- checkout
9+
- run:
10+
name: Flake8 and unittests on Python 2.7.13
11+
command: |
12+
. venv/bin/activate
13+
python -V
14+
pip -V
15+
pip install hacking
16+
python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
17+
python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
18+
python -m unittest discover test_replays
19+
python -m unittest discover test_s2gs
20+
build:
21+
working_directory: ~/sc2reader
22+
docker:
23+
- image: python:3.6.2
24+
steps:
25+
- checkout
26+
- run:
27+
name: Flake8 and unittests on Python 3.6.2
28+
command: |
29+
. venv/bin/activate
30+
python -V
31+
pip -V
32+
pip install hacking
33+
python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
34+
python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
35+
python -m unittest discover test_replays
36+
python -m unittest discover test_s2gs

0 commit comments

Comments
 (0)