Skip to content

Commit 6e82c14

Browse files
committed
Update circle-ci
1 parent b9a666b commit 6e82c14

2 files changed

Lines changed: 31 additions & 25 deletions

File tree

.circleci/config.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
version: 2
2+
3+
checkout:
4+
post:
5+
- >
6+
if [ -n "$CI_PULL_REQUEST" ]; then
7+
PR_ID=${CI_PULL_REQUEST##*/}
8+
git fetch origin +refs/pull/$PR_ID/merge:
9+
git checkout -qf FETCH_HEAD
10+
fi
11+
12+
jobs:
13+
14+
unittests:
15+
machine:
16+
enabled: true
17+
python:
18+
version: pypy-2.2.1
19+
steps:
20+
- checkout
21+
- run:
22+
name: install tox
23+
command: pip install tox
24+
- run: tox -e flake8
25+
- run: tox -e py27
26+
27+
workflows:
28+
version: 2
29+
tests:
30+
jobs:
31+
- unittests

circle.yml

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

0 commit comments

Comments
 (0)