-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (38 loc) · 726 Bytes
/
docker-compose.yml
File metadata and controls
46 lines (38 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: '3.4'
services:
_base:
&base
build:
dockerfile: Dockerfile
context: .
volumes:
- ./:/code
_bump-base:
&bump-base
build:
dockerfile: bumpversion.dockerfile
context: .
volumes:
- ./:/code
- ~/.gitconfig:/root/.gitconfig
bump-patch:
<<: *bump-base
command: bumpversion patch
bump-minor:
<<: *bump-base
command: bumpversion minor
bump-major:
<<: *bump-base
command: bumpversion major
# a fully loaded development environment to test new code
dev:
<<: *base
command: ipython
# run tests
test:
<<: *base
command: pytest
# run linters
lint:
<<: *base
entrypoint: ./docker/lint.sh