Skip to content

Commit 3c10fe8

Browse files
committed
circleci config file
1 parent bf47d58 commit 3c10fe8

2 files changed

Lines changed: 46 additions & 1 deletion

File tree

.circleci/config.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Config file for automatic testing at circleci.com
2+
3+
version: 2
4+
5+
jobs:
6+
py27_tests:
7+
docker:
8+
- image: circleci/python:2.7.15
9+
steps:
10+
- checkout
11+
- run:
12+
command: |
13+
sudo pip install pipenv
14+
pipenv install -r requirements.txt
15+
pipenv run "python -m unittest tests.test_pykemon"
16+
17+
py36_tests:
18+
docker:
19+
- image: circleci/python:3.6.6
20+
steps:
21+
- checkout
22+
- run:
23+
command: |
24+
sudo pip install pipenv
25+
pipenv install -r requirements.txt
26+
pipenv run "python -m unittest tests.test_pykemon"
27+
28+
py37_tests:
29+
docker:
30+
- image: circleci/python:3.7.0
31+
steps:
32+
- checkout
33+
- run:
34+
command: |
35+
sudo pip install pipenv
36+
pipenv install -r requirements.txt
37+
pipenv run "python -m unittest tests.test_pykemon"
38+
39+
workflows:
40+
version: 2
41+
run_tests:
42+
jobs:
43+
- py27_tests
44+
- py36_tests
45+
- py37_tests

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ python:
77
- "3.6"
88
- "3.7"
99

10-
# Travis still doesn't support Python 3.7, so the following 2 lines are needed
10+
# Travis still doesn't support Python 3.7 yet, so the following 2 lines are needed
1111
dist: xenial
1212
sudo: true
1313

0 commit comments

Comments
 (0)