Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Let's try with Circle CI v2
  • Loading branch information
cclauss authored Aug 23, 2017
commit 71258853d13ba459647a1a157253ef9e0783dcf8
65 changes: 36 additions & 29 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -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