| 1 |
version: 2.1 |
| 2 |
|
| 3 |
jobs: |
| 4 |
test: |
| 5 |
parameters: |
| 6 |
version: |
| 7 |
type: string |
| 8 |
commands: |
| 9 |
type: string |
| 10 |
docker: |
| 11 |
- image: circleci/erlang:<< parameters.version >> |
| 12 |
auth: |
| 13 |
username: $DOCKERHUB_USER |
| 14 |
password: $DOCKERHUB_PASSWORD |
| 15 |
steps: |
| 16 |
- checkout |
| 17 |
- run: rm -rf _build; make << parameters.commands >> |
| 18 |
|
| 19 |
workflows: |
| 20 |
version: 2 |
| 21 |
general: |
| 22 |
jobs: |
| 23 |
- test: |
| 24 |
name: "test-24" |
| 25 |
version: "24" |
| 26 |
commands: "ci edoc" |
| 27 |
- test: |
| 28 |
name: "test-23.3" |
| 29 |
version: "23.3" |
| 30 |
commands: "ci edoc" |
| 31 |
- test: |
| 32 |
name: "test-22.3" |
| 33 |
version: "22.3" |
| 34 |
commands: "ci edoc" |
| 35 |
- test: |
| 36 |
name: "test-21.3" |
| 37 |
version: "21.3" |
| 38 |
commands: "ci edoc" |
| 39 |
- test: |
| 40 |
name: "test-20.3" |
| 41 |
version: "20.3" |
| 42 |
commands: "ci" |
| 43 |
- test: |
| 44 |
name: "test-19.3" |
| 45 |
version: "19.3" |
| 46 |
commands: "ci" |
| 47 |
- test: |
| 48 |
name: "test-18.3" |
| 49 |
version: "18.3" |
| 50 |
commands: "ci" |