Skip to content

Commit b6212c2

Browse files
committed
Attempt at moving to CircleCI
1 parent a804f44 commit b6212c2

File tree

2 files changed

+76
-35
lines changed

2 files changed

+76
-35
lines changed

.circleci/config.yml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
version: 2
2+
jobs:
3+
python35:
4+
docker:
5+
- image: python:3.5-alpine
6+
- image: postgres:11.0
7+
environment:
8+
POSTGRES_DB: 'psqlextra'
9+
POSTGRES_USER: 'psqlextra'
10+
POSTGRES_PASSWORD: 'psqlextra'
11+
steps:
12+
- checkout
13+
- run:
14+
name: Install packages
15+
command: apk add postgresql-libs gcc musl-dev postgresql-dev git
16+
- run:
17+
name: Install Python packages
18+
command: pip install -r requirements/test.txt
19+
- run:
20+
name: Run tests
21+
command: tox -e 'py35-dj{111,20,21}'
22+
environment:
23+
DATABASE_URL: 'postgres://psqlextra:psqlextra@localhost:5432/psqlextra'
24+
25+
python36:
26+
docker:
27+
- image: python:3.6-alpine
28+
- image: postgres:11.0
29+
environment:
30+
POSTGRES_DB: 'psqlextra'
31+
POSTGRES_USER: 'psqlextra'
32+
POSTGRES_PASSWORD: 'psqlextra'
33+
steps:
34+
- checkout
35+
- run:
36+
name: Install packages
37+
command: apk add postgresql-libs gcc musl-dev postgresql-dev git
38+
- run:
39+
name: Install Python packages
40+
command: pip install -r requirements/test.txt
41+
- run:
42+
name: Run tests
43+
command: tox -e 'py36-dj{111,20,21}'
44+
environment:
45+
DATABASE_URL: 'postgres://psqlextra:psqlextra@localhost:5432/psqlextra'
46+
47+
python37:
48+
docker:
49+
- image: python:3.7-alpine
50+
- image: postgres:11.0
51+
environment:
52+
POSTGRES_DB: 'psqlextra'
53+
POSTGRES_USER: 'psqlextra'
54+
POSTGRES_PASSWORD: 'psqlextra'
55+
steps:
56+
- checkout
57+
- run:
58+
name: Install packages
59+
command: apk add postgresql-libs gcc musl-dev postgresql-dev git
60+
- run:
61+
name: Install Python packages
62+
command: pip install -r requirements/test.txt
63+
- run:
64+
name: Run tests
65+
command: tox -e 'py37-dj{111,20,21}'
66+
environment:
67+
DATABASE_URL: 'postgres://psqlextra:psqlextra@localhost:5432/psqlextra'
68+
69+
70+
workflows:
71+
version: 2
72+
build:
73+
jobs:
74+
- python35
75+
- python36
76+
- python37

.scrutinizer.yml

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

0 commit comments

Comments
 (0)