Skip to content

Commit 5cfc0ea

Browse files
authored
Move to circle 2.0 format (#13)
* Move to circle 2.0 format * Fix unit-test target
1 parent f3e7fa2 commit 5cfc0ea

3 files changed

Lines changed: 35 additions & 11 deletions

File tree

.circleci/config.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
version: 2
2+
3+
defaults: &defaults
4+
docker:
5+
- image: circleci/python:2.7
6+
7+
workflows:
8+
version: 2
9+
build-and-test:
10+
jobs:
11+
- lint
12+
- test-unit
13+
14+
jobs:
15+
lint:
16+
<< : *defaults
17+
18+
steps:
19+
- checkout
20+
- run: sudo pip install flake8 codecov pep8-naming
21+
- run: sudo make lint
22+
23+
test-unit:
24+
<< : *defaults
25+
26+
steps:
27+
- checkout
28+
- run: sudo make test

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
test:
1+
.PHONY: all lint test
2+
3+
all: lint test
4+
5+
lint:
26
flake8 stacker_blueprints
7+
8+
test:
39
python setup.py test

circle.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)