From a12ab64734629775cc40c089ec25ceb6af3de891 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 16:00:23 +0200 Subject: [PATCH 01/30] Do not merge -- Just trying make Circle CI happy --- circle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 2b4dbe8d..54fa4cda 100644 --- a/circle.yml +++ b/circle.yml @@ -1,6 +1,6 @@ machine: post: - - pyenv global 2.7.12 3.6.2 + - pyenv global 2.7.13 3.6.2 dependencies: pre: - pip install --upgrade pip From bbd3ca34e3319516f8b68999e79cbf0dc58057b0 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 16:35:23 +0200 Subject: [PATCH 02/30] Python 2.7 and 3.6 --- circle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 54fa4cda..fe854977 100644 --- a/circle.yml +++ b/circle.yml @@ -1,6 +1,6 @@ machine: post: - - pyenv global 2.7.13 3.6.2 + - pyenv global 2.7 3.6 dependencies: pre: - pip install --upgrade pip From baedf551323b143cd65ac138de64db71be398838 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 16:55:41 +0200 Subject: [PATCH 03/30] Update circle.yml --- circle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index fe854977..3b697934 100644 --- a/circle.yml +++ b/circle.yml @@ -1,6 +1,6 @@ machine: post: - - pyenv global 2.7 3.6 + - pyenv global 2.7 3.5 dependencies: pre: - pip install --upgrade pip From a2229c4f90fba71af3c7ae06f53514c09f061022 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 16:57:06 +0200 Subject: [PATCH 04/30] 2.7 3.6.2 --- circle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 3b697934..5ffd92a2 100644 --- a/circle.yml +++ b/circle.yml @@ -1,6 +1,6 @@ machine: post: - - pyenv global 2.7 3.5 + - pyenv global 2.7 3.6.2 dependencies: pre: - pip install --upgrade pip From 2d72ab7ebc5ee4c692d9d6b2c1029ead89eb1bec Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 16:58:53 +0200 Subject: [PATCH 05/30] 2.7 3.4 --- circle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 5ffd92a2..99f27538 100644 --- a/circle.yml +++ b/circle.yml @@ -1,6 +1,6 @@ machine: post: - - pyenv global 2.7 3.6.2 + - pyenv global 2.7 3.4 dependencies: pre: - pip install --upgrade pip From df9c169eb24157e0d740987fd3d1ad40fdbcaad3 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 17:00:38 +0200 Subject: [PATCH 06/30] Python 2 only --- circle.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/circle.yml b/circle.yml index 99f27538..7ea6c09c 100644 --- a/circle.yml +++ b/circle.yml @@ -1,6 +1,6 @@ machine: post: - - pyenv global 2.7 3.4 + - pyenv global 2.7 # 3.4 dependencies: pre: - pip install --upgrade pip @@ -21,7 +21,7 @@ test: - python2.7 -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - python2.7 -m python -m unittest discover test_replays - python2.7 -m python -m unittest discover test_s2gs - - 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 - - python3.6 -m python -m unittest discover test_replays - - python3.6 -m python -m unittest discover test_s2gs + # - 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 + # - python3.6 -m python -m unittest discover test_replays + # - #python3.6 -m python -m unittest discover test_s2gs From f0d21ede8f0fd8e2ce79b21da3661c00cad5912e Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 17:05:44 +0200 Subject: [PATCH 07/30] Update circle.yml --- circle.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/circle.yml b/circle.yml index 7ea6c09c..58f8ae88 100644 --- a/circle.yml +++ b/circle.yml @@ -1,6 +1,6 @@ machine: post: - - pyenv global 2.7 # 3.4 + - pyenv global 2.7 3.5.0 dependencies: pre: - pip install --upgrade pip @@ -21,7 +21,7 @@ test: - python2.7 -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - python2.7 -m python -m unittest discover test_replays - python2.7 -m python -m unittest discover test_s2gs - # - 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 - # - python3.6 -m python -m unittest discover test_replays - # - #python3.6 -m python -m unittest discover test_s2gs + - 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 + - python3.6 -m python -m unittest discover test_replays + - python3.6 -m python -m unittest discover test_s2gs From 4b3bf32e819fd5a9920b41316c2f138d9cf547b1 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 17:11:18 +0200 Subject: [PATCH 08/30] Update circle.yml --- circle.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/circle.yml b/circle.yml index 58f8ae88..5e2ee92b 100644 --- a/circle.yml +++ b/circle.yml @@ -17,11 +17,11 @@ general: - old_master test: override: - - 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 - - python2.7 -m python -m unittest discover test_replays - - python2.7 -m python -m unittest discover test_s2gs - - 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 - - python3.6 -m python -m unittest discover test_replays - - python3.6 -m python -m unittest discover test_s2gs + - python2 -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics + - python2 -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - python2 -m unittest discover test_replays + - python2 -m unittest discover test_s2gs + - python3 -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics + - python3 -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - python3 -m unittest discover test_replays + - python3 -m unittest discover test_s2gs From 0b29c4d8c20822a99bbccd795263522421cb52e7 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 17:16:24 +0200 Subject: [PATCH 09/30] Update circle.yml --- circle.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/circle.yml b/circle.yml index 5e2ee92b..54960748 100644 --- a/circle.yml +++ b/circle.yml @@ -17,10 +17,12 @@ general: - old_master test: override: + - python2 -V - python2 -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics - python2 -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - python2 -m unittest discover test_replays - python2 -m unittest discover test_s2gs + - python3 -V - python3 -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics - python3 -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - python3 -m unittest discover test_replays From 46e94affbf9a6211abdd116bd5719f2390c98f92 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 17:23:52 +0200 Subject: [PATCH 10/30] Create circle.yml_old_v1 --- circle.yml_old_v1 | 1 + 1 file changed, 1 insertion(+) create mode 100644 circle.yml_old_v1 diff --git a/circle.yml_old_v1 b/circle.yml_old_v1 new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/circle.yml_old_v1 @@ -0,0 +1 @@ + From a8068fae479ebf93a97940257dabd40f8eced77b Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 17:27:37 +0200 Subject: [PATCH 11/30] Circle v1 only supports Python 2.7.6 and 3.5.0!! --- circle.yml_old_v1 | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/circle.yml_old_v1 b/circle.yml_old_v1 index 8b137891..54960748 100644 --- a/circle.yml_old_v1 +++ b/circle.yml_old_v1 @@ -1 +1,29 @@ - +machine: + post: + - pyenv global 2.7 3.5.0 +dependencies: + pre: + - pip install --upgrade pip + - pip3 install --upgrade pip + - pip install hacking + - pip3 install hacking +general: + branches: + ignore: + - ggmaster + - hots + - jonomon + - master + - old_master +test: + override: + - python2 -V + - python2 -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics + - python2 -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - python2 -m unittest discover test_replays + - python2 -m unittest discover test_s2gs + - python3 -V + - python3 -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics + - python3 -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - python3 -m unittest discover test_replays + - python3 -m unittest discover test_s2gs From 71258853d13ba459647a1a157253ef9e0783dcf8 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 18:46:02 +0200 Subject: [PATCH 12/30] Let's try with Circle CI v2 --- circle.yml | 65 ++++++++++++++++++++++++++++++------------------------ 1 file changed, 36 insertions(+), 29 deletions(-) diff --git a/circle.yml b/circle.yml index 54960748..809cb66d 100644 --- a/circle.yml +++ b/circle.yml @@ -1,29 +1,36 @@ -machine: - post: - - pyenv global 2.7 3.5.0 -dependencies: - pre: - - pip install --upgrade pip - - pip3 install --upgrade pip - - pip install hacking - - pip3 install hacking -general: - branches: - ignore: - - ggmaster - - hots - - jonomon - - master - - old_master -test: - override: - - python2 -V - - python2 -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics - - python2 -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - - python2 -m unittest discover test_replays - - python2 -m unittest discover test_s2gs - - python3 -V - - python3 -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics - - python3 -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - - python3 -m unittest discover test_replays - - python3 -m unittest discover test_s2gs +version: 2 +jobs: + build: + working_directory: ~/sc2reader + docker: + - image: python:2.7.13 + steps: + - checkout + - run: + name: Flake8 and unittests on Python 2.7.13 + command: | + . venv/bin/activate + python -V + pip -V + pip install hacking + python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics + python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + python -m unittest discover test_replays + python -m unittest discover test_s2gs + build: + working_directory: ~/sc2reader + docker: + - image: python:3.6.2 + steps: + - checkout + - run: + name: Flake8 and unittests on Python 3.6.2 + command: | + . venv/bin/activate + python -V + pip -V + pip install hacking + python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics + python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + python -m unittest discover test_replays + python -m unittest discover test_s2gs From e8539552c40e3b8b8c8ce40f19217212846383ed Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 18:49:18 +0200 Subject: [PATCH 13/30] Update circle.yml --- circle.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/circle.yml b/circle.yml index 809cb66d..c05b3ee5 100644 --- a/circle.yml +++ b/circle.yml @@ -9,6 +9,7 @@ jobs: - run: name: Flake8 and unittests on Python 2.7.13 command: | + python -m venv venv . venv/bin/activate python -V pip -V @@ -26,6 +27,7 @@ jobs: - run: name: Flake8 and unittests on Python 3.6.2 command: | + python -m venv venv . venv/bin/activate python -V pip -V From 823c228d42be63e3faae6c4fb18f401a19a83a06 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 19:10:40 +0200 Subject: [PATCH 14/30] Update circle.yml --- circle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index c05b3ee5..08c12b66 100644 --- a/circle.yml +++ b/circle.yml @@ -12,7 +12,7 @@ jobs: python -m venv venv . venv/bin/activate python -V - pip -V + pip -V pip install hacking python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics From 57f975e3f2172b7a571180e9662b47ef2d8c8db5 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 21:24:22 +0200 Subject: [PATCH 15/30] Update circle.yml --- circle.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/circle.yml b/circle.yml index 08c12b66..70e6f211 100644 --- a/circle.yml +++ b/circle.yml @@ -3,11 +3,11 @@ jobs: build: working_directory: ~/sc2reader docker: - - image: python:2.7.13 + - image: python:3.6.2 steps: - checkout - run: - name: Flake8 and unittests on Python 2.7.13 + name: Flake8 and unittests on Python 3.6.2 command: | python -m venv venv . venv/bin/activate @@ -21,11 +21,11 @@ jobs: build: working_directory: ~/sc2reader docker: - - image: python:3.6.2 + - image: python:2.7.13 steps: - checkout - run: - name: Flake8 and unittests on Python 3.6.2 + name: Flake8 and unittests on Python 2.7.13 command: | python -m venv venv . venv/bin/activate From f0c3a6752b7bf1230c93afd6a289d8fdc3d1a3b0 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 21:30:28 +0200 Subject: [PATCH 16/30] virtualenv not venv for Python 2 --- circle.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/circle.yml b/circle.yml index 70e6f211..b06f6ce5 100644 --- a/circle.yml +++ b/circle.yml @@ -11,6 +11,7 @@ jobs: command: | python -m venv venv . venv/bin/activate + pwd python -V pip -V pip install hacking @@ -27,8 +28,9 @@ jobs: - run: name: Flake8 and unittests on Python 2.7.13 command: | - python -m venv venv - . venv/bin/activate + pip install virtualenv + virtualenv sc2reader + pwd python -V pip -V pip install hacking From 6be4a7c728a3f458dc98f15ae899411f6b4970c0 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 21:35:57 +0200 Subject: [PATCH 17/30] Update circle.yml --- circle.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/circle.yml b/circle.yml index b06f6ce5..8011bfad 100644 --- a/circle.yml +++ b/circle.yml @@ -31,6 +31,8 @@ jobs: pip install virtualenv virtualenv sc2reader pwd + source sc2reader/bin/activate + pwd python -V pip -V pip install hacking @@ -38,3 +40,4 @@ jobs: python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics python -m unittest discover test_replays python -m unittest discover test_s2gs + echo "Done." From 283cf6ceeb17f6dbdbb73baf1beec427e598daac Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 21:39:05 +0200 Subject: [PATCH 18/30] Update circle.yml --- circle.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 8011bfad..80b6f217 100644 --- a/circle.yml +++ b/circle.yml @@ -20,7 +20,7 @@ jobs: python -m unittest discover test_replays python -m unittest discover test_s2gs build: - working_directory: ~/sc2reader + # working_directory: ~/sc2reader docker: - image: python:2.7.13 steps: @@ -32,6 +32,7 @@ jobs: virtualenv sc2reader pwd source sc2reader/bin/activate + cd sc2reader pwd python -V pip -V From 50f01e115af433bc02d90bdbf7f07fd6925206ee Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 21:42:18 +0200 Subject: [PATCH 19/30] Update circle.yml --- circle.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 80b6f217..37a698d1 100644 --- a/circle.yml +++ b/circle.yml @@ -31,9 +31,11 @@ jobs: pip install virtualenv virtualenv sc2reader pwd - source sc2reader/bin/activate + ls cd sc2reader + source bin/activate pwd + ls python -V pip -V pip install hacking From 639a54bd0173fc99695a7818c2d094ee6d7425ff Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 21:46:14 +0200 Subject: [PATCH 20/30] Update circle.yml --- circle.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/circle.yml b/circle.yml index 37a698d1..c5ce4179 100644 --- a/circle.yml +++ b/circle.yml @@ -28,12 +28,12 @@ jobs: - run: name: Flake8 and unittests on Python 2.7.13 command: | - pip install virtualenv - virtualenv sc2reader - pwd - ls - cd sc2reader - source bin/activate + # pip install virtualenv + # virtualenv sc2reader + # pwd + # ls + # cd sc2reader + # source bin/activate pwd ls python -V From 9d9aea50f3d1c86715252819e62c737e01768cc6 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 21:50:10 +0200 Subject: [PATCH 21/30] Update circle.yml --- circle.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/circle.yml b/circle.yml index c5ce4179..4a3d1a34 100644 --- a/circle.yml +++ b/circle.yml @@ -39,8 +39,12 @@ jobs: python -V pip -V pip install hacking + echo "Flake8 round one" python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics + echo "Flake8 round two" python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + echo "Unittest round one" python -m unittest discover test_replays + echo "Unittest round two" python -m unittest discover test_s2gs echo "Done." From ed213faa53d7fa267868a4bd208274f87b32c947 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 21:51:46 +0200 Subject: [PATCH 22/30] Update circle.yml --- circle.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/circle.yml b/circle.yml index 4a3d1a34..29250a77 100644 --- a/circle.yml +++ b/circle.yml @@ -14,7 +14,7 @@ jobs: pwd python -V pip -V - pip install hacking + pip install hacking Pillow python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics python -m unittest discover test_replays @@ -38,7 +38,7 @@ jobs: ls python -V pip -V - pip install hacking + pip install hacking Pillow echo "Flake8 round one" python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics echo "Flake8 round two" From 8d15646c2bd51051ede3cd87f21d5076795dfbe2 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 22:18:51 +0200 Subject: [PATCH 23/30] Update circle.yml --- circle.yml | 104 +++++++++++++++++++++++++++-------------------------- 1 file changed, 54 insertions(+), 50 deletions(-) diff --git a/circle.yml b/circle.yml index 29250a77..bbc81a82 100644 --- a/circle.yml +++ b/circle.yml @@ -1,50 +1,54 @@ -version: 2 -jobs: - build: - working_directory: ~/sc2reader - docker: - - image: python:3.6.2 - steps: - - checkout - - run: - name: Flake8 and unittests on Python 3.6.2 - command: | - python -m venv venv - . venv/bin/activate - pwd - python -V - pip -V - pip install hacking Pillow - python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics - python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - python -m unittest discover test_replays - python -m unittest discover test_s2gs - build: - # working_directory: ~/sc2reader - docker: - - image: python:2.7.13 - steps: - - checkout - - run: - name: Flake8 and unittests on Python 2.7.13 - command: | - # pip install virtualenv - # virtualenv sc2reader - # pwd - # ls - # cd sc2reader - # source bin/activate - pwd - ls - python -V - pip -V - pip install hacking Pillow - echo "Flake8 round one" - python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics - echo "Flake8 round two" - python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - echo "Unittest round one" - python -m unittest discover test_replays - echo "Unittest round two" - python -m unittest discover test_s2gs - echo "Done." +workflows: + version: 2 + Python3: + jobs: + build: + working_directory: ~/sc2reader + docker: + - image: python:3.6.2 + steps: + - checkout + - run: + name: Flake8 and unittests on Python 3.6.2 + command: | + python -m venv venv + . venv/bin/activate + pwd + python -V + pip -V + pip install hacking Pillow + python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics + python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + python -m unittest discover test_replays + python -m unittest discover test_s2gs + Python2: + jobs: + build: + # working_directory: ~/sc2reader + docker: + - image: python:2.7.13 + steps: + - checkout + - run: + name: Flake8 and unittests on Python 2.7.13 + command: | + # pip install virtualenv + # virtualenv sc2reader + # pwd + # ls + # cd sc2reader + # source bin/activate + pwd + ls + python -V + pip -V + pip install hacking Pillow + echo "Flake8 round one" + python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics + echo "Flake8 round two" + python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + echo "Unittest round one" + python -m unittest discover test_replays + echo "Unittest round two" + python -m unittest discover test_s2gs + echo "Done." From 7eda325b29abca529e69f311dd4e5a38ea2a941b Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 22:33:29 +0200 Subject: [PATCH 24/30] Update circle.yml --- circle.yml | 118 +++++++++++++++++++++++++++++------------------------ 1 file changed, 64 insertions(+), 54 deletions(-) diff --git a/circle.yml b/circle.yml index bbc81a82..4cb53cb3 100644 --- a/circle.yml +++ b/circle.yml @@ -1,54 +1,64 @@ -workflows: - version: 2 - Python3: - jobs: - build: - working_directory: ~/sc2reader - docker: - - image: python:3.6.2 - steps: - - checkout - - run: - name: Flake8 and unittests on Python 3.6.2 - command: | - python -m venv venv - . venv/bin/activate - pwd - python -V - pip -V - pip install hacking Pillow - python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics - python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - python -m unittest discover test_replays - python -m unittest discover test_s2gs - Python2: - jobs: - build: - # working_directory: ~/sc2reader - docker: - - image: python:2.7.13 - steps: - - checkout - - run: - name: Flake8 and unittests on Python 2.7.13 - command: | - # pip install virtualenv - # virtualenv sc2reader - # pwd - # ls - # cd sc2reader - # source bin/activate - pwd - ls - python -V - pip -V - pip install hacking Pillow - echo "Flake8 round one" - python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics - echo "Flake8 round two" - python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - echo "Unittest round one" - python -m unittest discover test_replays - echo "Unittest round two" - python -m unittest discover test_s2gs - echo "Done." +version: 2 +jobs: + build: + working_directory: ~/sc2reader + docker: + - image: python:3.6.2 + branches: + ignore: + - ggmaster + - hots + - jonomon + - master + - old_master + steps: + - checkout + - run: + name: Flake8 and unittests on Python 3.6.2 + command: | + python -m venv venv + . venv/bin/activate + pwd + python -V + pip -V + pip install hacking Pillow + python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics + python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + python -m unittest discover test_replays + python -m unittest discover test_s2gs + build: + # working_directory: ~/sc2reader + docker: + - image: python:2.7.13 + branches: + ignore: + - ggmaster + - hots + - jonomon + - master + - old_master + steps: + - checkout + - run: + name: Flake8 and unittests on Python 2.7.13 + command: | + # pip install virtualenv + # virtualenv sc2reader + # pwd + # ls + # cd sc2reader + # source bin/activate + pwd + ls + python -V + pip -V + pip install hacking Pillow + echo "Flake8 round one" + python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics + echo "Flake8 round two" + python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + echo "Unittest round one" + python -m unittest discover test_replays + echo "Unittest round two" + python -m unittest discover test_s2gs + echo "Done." From a80996586967c00621991786e30dabd81934b006 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 22:52:21 +0200 Subject: [PATCH 25/30] Update circle.yml --- circle.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/circle.yml b/circle.yml index 4cb53cb3..80d4c953 100644 --- a/circle.yml +++ b/circle.yml @@ -1,5 +1,6 @@ version: 2 jobs: + Python3: build: working_directory: ~/sc2reader docker: @@ -26,6 +27,7 @@ jobs: python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics python -m unittest discover test_replays python -m unittest discover test_s2gs + Python2: build: # working_directory: ~/sc2reader docker: From 1f6c7f7058ba7e91f04d54e39a74377d024914ba Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 22:55:43 +0200 Subject: [PATCH 26/30] Update circle.yml --- circle.yml | 128 ++++++++++++++++++++++++++--------------------------- 1 file changed, 64 insertions(+), 64 deletions(-) diff --git a/circle.yml b/circle.yml index 80d4c953..fe7a5870 100644 --- a/circle.yml +++ b/circle.yml @@ -1,66 +1,66 @@ version: 2 jobs: - Python3: - build: - working_directory: ~/sc2reader - docker: - - image: python:3.6.2 - branches: - ignore: - - ggmaster - - hots - - jonomon - - master - - old_master - steps: - - checkout - - run: - name: Flake8 and unittests on Python 3.6.2 - command: | - python -m venv venv - . venv/bin/activate - pwd - python -V - pip -V - pip install hacking Pillow - python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics - python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - python -m unittest discover test_replays - python -m unittest discover test_s2gs - Python2: - build: - # working_directory: ~/sc2reader - docker: - - image: python:2.7.13 - branches: - ignore: - - ggmaster - - hots - - jonomon - - master - - old_master - steps: - - checkout - - run: - name: Flake8 and unittests on Python 2.7.13 - command: | - # pip install virtualenv - # virtualenv sc2reader - # pwd - # ls - # cd sc2reader - # source bin/activate - pwd - ls - python -V - pip -V - pip install hacking Pillow - echo "Flake8 round one" - python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics - echo "Flake8 round two" - python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - echo "Unittest round one" - python -m unittest discover test_replays - echo "Unittest round two" - python -m unittest discover test_s2gs - echo "Done." + Python3: + build: + working_directory: ~/sc2reader + docker: + - image: python:3.6.2 + branches: + ignore: + - ggmaster + - hots + - jonomon + - master + - old_master + steps: + - checkout + - run: + name: Flake8 and unittests on Python 3.6.2 + command: | + python -m venv venv + . venv/bin/activate + pwd + python -V + pip -V + pip install hacking Pillow + python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics + python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + python -m unittest discover test_replays + python -m unittest discover test_s2gs + Python2: + build: + # working_directory: ~/sc2reader + docker: + - image: python:2.7.13 + branches: + ignore: + - ggmaster + - hots + - jonomon + - master + - old_master + steps: + - checkout + - run: + name: Flake8 and unittests on Python 2.7.13 + command: | + # pip install virtualenv + # virtualenv sc2reader + # pwd + # ls + # cd sc2reader + # source bin/activate + pwd + ls + python -V + pip -V + pip install hacking Pillow + echo "Flake8 round one" + python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics + echo "Flake8 round two" + python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + echo "Unittest round one" + python -m unittest discover test_replays + echo "Unittest round two" + python -m unittest discover test_s2gs + echo "Done." From e83f4eb5a4c1058f0be70e74c211e8b03462cd98 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 22:56:46 +0200 Subject: [PATCH 27/30] Update circle.yml --- circle.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/circle.yml b/circle.yml index fe7a5870..4c671661 100644 --- a/circle.yml +++ b/circle.yml @@ -1,7 +1,7 @@ version: 2 jobs: Python3: - build: + - build: working_directory: ~/sc2reader docker: - image: python:3.6.2 @@ -28,7 +28,7 @@ jobs: python -m unittest discover test_replays python -m unittest discover test_s2gs Python2: - build: + - build: # working_directory: ~/sc2reader docker: - image: python:2.7.13 From 81bb5493ec73a6a253fede2a22860d0a3f4f0017 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 22:59:28 +0200 Subject: [PATCH 28/30] Update circle.yml --- circle.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/circle.yml b/circle.yml index 4c671661..3da6e556 100644 --- a/circle.yml +++ b/circle.yml @@ -1,7 +1,7 @@ version: 2 jobs: Python3: - - build: + build: working_directory: ~/sc2reader docker: - image: python:3.6.2 @@ -13,8 +13,8 @@ jobs: - master - old_master steps: - - checkout - - run: + checkout + run: name: Flake8 and unittests on Python 3.6.2 command: | python -m venv venv @@ -28,7 +28,7 @@ jobs: python -m unittest discover test_replays python -m unittest discover test_s2gs Python2: - - build: + build: # working_directory: ~/sc2reader docker: - image: python:2.7.13 @@ -40,8 +40,8 @@ jobs: - master - old_master steps: - - checkout - - run: + checkout + run: name: Flake8 and unittests on Python 2.7.13 command: | # pip install virtualenv From 8f387e1c8f7e9b91b71a249a40782010e5a93eb3 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 23:02:50 +0200 Subject: [PATCH 29/30] Update circle.yml --- circle.yml | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/circle.yml b/circle.yml index 3da6e556..8285b380 100644 --- a/circle.yml +++ b/circle.yml @@ -1,10 +1,10 @@ version: 2 jobs: - Python3: + Python2: build: - working_directory: ~/sc2reader + # working_directory: ~/sc2reader docker: - - image: python:3.6.2 + - image: python:2.7.13 branches: ignore: - ggmaster @@ -15,23 +15,33 @@ jobs: steps: checkout run: - name: Flake8 and unittests on Python 3.6.2 + name: Flake8 and unittests on Python 2.7.13 command: | - python -m venv venv - . venv/bin/activate + # pip install virtualenv + # virtualenv sc2reader + # pwd + # ls + # cd sc2reader + # source bin/activate pwd + ls python -V pip -V pip install hacking Pillow + echo "Flake8 round one" python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics + echo "Flake8 round two" python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + echo "Unittest round one" python -m unittest discover test_replays + echo "Unittest round two" python -m unittest discover test_s2gs - Python2: + echo "Done." + Python3: build: - # working_directory: ~/sc2reader + working_directory: ~/sc2reader docker: - - image: python:2.7.13 + - image: python:3.6.2 branches: ignore: - ggmaster @@ -42,25 +52,15 @@ jobs: steps: checkout run: - name: Flake8 and unittests on Python 2.7.13 + name: Flake8 and unittests on Python 3.6.2 command: | - # pip install virtualenv - # virtualenv sc2reader - # pwd - # ls - # cd sc2reader - # source bin/activate + python -m venv venv + . venv/bin/activate pwd - ls python -V pip -V pip install hacking Pillow - echo "Flake8 round one" python -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics - echo "Flake8 round two" python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - echo "Unittest round one" python -m unittest discover test_replays - echo "Unittest round two" python -m unittest discover test_s2gs - echo "Done." From e7d49eb6ca30af9131fa5d66f04d8e1bf5629c11 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 23 Aug 2017 23:07:17 +0200 Subject: [PATCH 30/30] Update circle.yml --- circle.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/circle.yml b/circle.yml index 8285b380..7fd182c8 100644 --- a/circle.yml +++ b/circle.yml @@ -13,8 +13,8 @@ jobs: - master - old_master steps: - checkout - run: + - checkout + - run: name: Flake8 and unittests on Python 2.7.13 command: | # pip install virtualenv @@ -50,8 +50,8 @@ jobs: - master - old_master steps: - checkout - run: + - checkout + - run: name: Flake8 and unittests on Python 3.6.2 command: | python -m venv venv