Skip to content

Commit 7eda325

Browse files
author
cclauss
authored
Update circle.yml
1 parent 8d15646 commit 7eda325

File tree

1 file changed

+64
-54
lines changed

1 file changed

+64
-54
lines changed

circle.yml

Lines changed: 64 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,64 @@
1-
workflows:
2-
version: 2
3-
Python3:
4-
jobs:
5-
build:
6-
working_directory: ~/sc2reader
7-
docker:
8-
- image: python:3.6.2
9-
steps:
10-
- checkout
11-
- run:
12-
name: Flake8 and unittests on Python 3.6.2
13-
command: |
14-
python -m venv venv
15-
. venv/bin/activate
16-
pwd
17-
python -V
18-
pip -V
19-
pip install hacking Pillow
20-
python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
21-
python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
22-
python -m unittest discover test_replays
23-
python -m unittest discover test_s2gs
24-
Python2:
25-
jobs:
26-
build:
27-
# working_directory: ~/sc2reader
28-
docker:
29-
- image: python:2.7.13
30-
steps:
31-
- checkout
32-
- run:
33-
name: Flake8 and unittests on Python 2.7.13
34-
command: |
35-
# pip install virtualenv
36-
# virtualenv sc2reader
37-
# pwd
38-
# ls
39-
# cd sc2reader
40-
# source bin/activate
41-
pwd
42-
ls
43-
python -V
44-
pip -V
45-
pip install hacking Pillow
46-
echo "Flake8 round one"
47-
python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
48-
echo "Flake8 round two"
49-
python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
50-
echo "Unittest round one"
51-
python -m unittest discover test_replays
52-
echo "Unittest round two"
53-
python -m unittest discover test_s2gs
54-
echo "Done."
1+
version: 2
2+
jobs:
3+
build:
4+
working_directory: ~/sc2reader
5+
docker:
6+
- image: python:3.6.2
7+
branches:
8+
ignore:
9+
- ggmaster
10+
- hots
11+
- jonomon
12+
- master
13+
- old_master
14+
steps:
15+
- checkout
16+
- run:
17+
name: Flake8 and unittests on Python 3.6.2
18+
command: |
19+
python -m venv venv
20+
. venv/bin/activate
21+
pwd
22+
python -V
23+
pip -V
24+
pip install hacking Pillow
25+
python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
26+
python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
27+
python -m unittest discover test_replays
28+
python -m unittest discover test_s2gs
29+
build:
30+
# working_directory: ~/sc2reader
31+
docker:
32+
- image: python:2.7.13
33+
branches:
34+
ignore:
35+
- ggmaster
36+
- hots
37+
- jonomon
38+
- master
39+
- old_master
40+
steps:
41+
- checkout
42+
- run:
43+
name: Flake8 and unittests on Python 2.7.13
44+
command: |
45+
# pip install virtualenv
46+
# virtualenv sc2reader
47+
# pwd
48+
# ls
49+
# cd sc2reader
50+
# source bin/activate
51+
pwd
52+
ls
53+
python -V
54+
pip -V
55+
pip install hacking Pillow
56+
echo "Flake8 round one"
57+
python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
58+
echo "Flake8 round two"
59+
python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
60+
echo "Unittest round one"
61+
python -m unittest discover test_replays
62+
echo "Unittest round two"
63+
python -m unittest discover test_s2gs
64+
echo "Done."

0 commit comments

Comments
 (0)