Skip to content

Commit 8f387e1

Browse files
author
cclauss
authored
Update circle.yml
1 parent 81bb549 commit 8f387e1

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

circle.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
version: 2
22
jobs:
3-
Python3:
3+
Python2:
44
build:
5-
working_directory: ~/sc2reader
5+
# working_directory: ~/sc2reader
66
docker:
7-
- image: python:3.6.2
7+
- image: python:2.7.13
88
branches:
99
ignore:
1010
- ggmaster
@@ -15,23 +15,33 @@ jobs:
1515
steps:
1616
checkout
1717
run:
18-
name: Flake8 and unittests on Python 3.6.2
18+
name: Flake8 and unittests on Python 2.7.13
1919
command: |
20-
python -m venv venv
21-
. venv/bin/activate
20+
# pip install virtualenv
21+
# virtualenv sc2reader
22+
# pwd
23+
# ls
24+
# cd sc2reader
25+
# source bin/activate
2226
pwd
27+
ls
2328
python -V
2429
pip -V
2530
pip install hacking Pillow
31+
echo "Flake8 round one"
2632
python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
33+
echo "Flake8 round two"
2734
python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
35+
echo "Unittest round one"
2836
python -m unittest discover test_replays
37+
echo "Unittest round two"
2938
python -m unittest discover test_s2gs
30-
Python2:
39+
echo "Done."
40+
Python3:
3141
build:
32-
# working_directory: ~/sc2reader
42+
working_directory: ~/sc2reader
3343
docker:
34-
- image: python:2.7.13
44+
- image: python:3.6.2
3545
branches:
3646
ignore:
3747
- ggmaster
@@ -42,25 +52,15 @@ jobs:
4252
steps:
4353
checkout
4454
run:
45-
name: Flake8 and unittests on Python 2.7.13
55+
name: Flake8 and unittests on Python 3.6.2
4656
command: |
47-
# pip install virtualenv
48-
# virtualenv sc2reader
49-
# pwd
50-
# ls
51-
# cd sc2reader
52-
# source bin/activate
57+
python -m venv venv
58+
. venv/bin/activate
5359
pwd
54-
ls
5560
python -V
5661
pip -V
5762
pip install hacking Pillow
58-
echo "Flake8 round one"
5963
python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
60-
echo "Flake8 round two"
6164
python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
62-
echo "Unittest round one"
6365
python -m unittest discover test_replays
64-
echo "Unittest round two"
6566
python -m unittest discover test_s2gs
66-
echo "Done."

0 commit comments

Comments
 (0)