|
21 | 21 | - openjdk-ea
|
22 | 22 | stages:
|
23 | 23 | - name: check
|
| 24 | + jdk: openjdk11 |
24 | 25 | - name: test
|
25 |
| - # Deploy only from the home repo where the credentials can be |
26 |
| - # properly decrypted. Never deploy from a pull request job. |
27 |
| - # In addition, ensure we're on the master branch (snapshots) |
28 |
| - # or a branch with semver naming (releases). |
29 | 26 | - name: deploy
|
| 27 | + jdk: openjdk11 |
| 28 | + # Deploy only from the home repo where the credentials can be |
| 29 | + # properly decrypted. Never deploy from a pull request job. |
| 30 | + # In addition, ensure we're on the master branch (snapshots) |
| 31 | + # or a branch with semver naming (releases). |
30 | 32 | if: repo = clojure-emacs/cider-nrepl
|
31 | 33 | AND type != pull_request
|
32 | 34 | AND ( branch = master OR branch =~ ^v[0-9]+\.[0-9]+\.[0-9]+.*$ )
|
33 | 35 | jobs:
|
34 | 36 | include:
|
35 |
| - # Test Clojure master against a single JDK |
36 |
| - - env: CLOJURE_VERSION=master TARGET=test |
37 |
| - jdk: openjdk11 |
| 37 | + - stage: check |
| 38 | + env: CLOJURE_VERSION=1.10 TARGET=eastwood |
38 | 39 |
|
39 |
| - # Coverage analysis |
40 |
| - - stage: test |
41 |
| - env: CLOJURE_VERSION=1.10 TARGET=cloverage |
42 |
| - jdk: openjdk11 |
43 |
| - after_success: bash <(curl -s https://codecov.io/bash) -f target/coverage/codecov.json |
| 40 | + - stage: check |
| 41 | + env: CLOJURE_VERSION=1.10 TARGET=cljfmt |
44 | 42 |
|
45 |
| - # Test Clojure master against a single JDK |
46 | 43 | - stage: test
|
47 | 44 | env: CLOJURE_VERSION=master TARGET='test smoketest'
|
48 | 45 | jdk: openjdk11
|
49 | 46 |
|
50 |
| - # Eastwood linter |
51 |
| - - stage: check |
52 |
| - env: CLOJURE_VERSION=1.10 TARGET=eastwood |
53 |
| - jdk: openjdk11 |
54 |
| - |
55 |
| - # Check cljfmt |
56 |
| - - stage: check |
57 |
| - env: CLOJURE_VERSION=1.10 TARGET=cljfmt |
| 47 | + - stage: test |
| 48 | + env: CLOJURE_VERSION=1.10 TARGET=cloverage |
58 | 49 | jdk: openjdk11
|
| 50 | + after_success: bash <(curl -s https://codecov.io/bash) -f target/coverage/codecov.json |
59 | 51 |
|
60 |
| - # Deployment |
61 | 52 | - stage: deploy
|
62 | 53 | env: TARGET=deploy
|
63 |
| - jdk: openjdk11 |
64 | 54 |
|
65 |
| - fast_finish: true # don't wait for allowed failures before build finish |
| 55 | + fast_finish: true |
66 | 56 | allow_failures:
|
67 | 57 | - jdk: openjdk-ea
|
68 | 58 | - env: CLOJURE_VERSION=master TARGET='test smoketest'
|
|
0 commit comments