-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcircle.yml
More file actions
25 lines (25 loc) · 781 Bytes
/
Copy pathcircle.yml
File metadata and controls
25 lines (25 loc) · 781 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
version: 2
executorType: machine
stages:
build:
workDir: ~/soundzcape
steps:
- type: checkout
- type: shell
name: Build and run docker images
command: |
docker --version
docker-compose --version
docker-compose up --build -d
- type: shell
name: Run lints and tests
command: |
docker-compose run webpack npm run test
docker-compose run python sh -c "pylint ../backend; pytest"
- type: shell
name: Shutdown containers
command: |
docker-compose down
notify:
webhooks:
- url: https://webhooks.gitter.im/e/41e37b947d82b439beec