-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.yml
40 lines (38 loc) · 1.13 KB
/
config.yml
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
version: 2.1
orbs:
codacy: codacy/base@12.1.3
codacy_plugins_test: codacy/plugins-test@2.0.11
workflows:
version: 2
compile_test_deploy:
jobs:
- codacy/checkout_and_version
- codacy/shell:
name: publish_docker_local
cmd: |
docker build -t $CIRCLE_PROJECT_REPONAME:latest .
docker run $CIRCLE_PROJECT_REPONAME:latest codacy_prospector_test.py
docker save --output docker-image.tar $CIRCLE_PROJECT_REPONAME:latest
persist_to_workspace: true
requires:
- codacy/checkout_and_version
- codacy_plugins_test/run:
name: plugins_test
run_multiple_tests: true
run_json_tests: false
run_pattern_tests: false
requires:
- publish_docker_local
- codacy/publish_docker:
context: CodacyDocker
requires:
- publish_docker_local
filters:
branches:
only:
- master
- codacy/tag_version:
name: tag_version
context: CodacyAWS
requires:
- codacy/publish_docker