Skip to content

Commit b62bf8e

Browse files
cichlibbatsov
authored andcommitted
Remove some redundancies in Travis config
1 parent 9e65be8 commit b62bf8e

File tree

1 file changed

+14
-24
lines changed

1 file changed

+14
-24
lines changed

.travis.yml

Lines changed: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -21,48 +21,38 @@ jdk:
2121
- openjdk-ea
2222
stages:
2323
- name: check
24+
jdk: openjdk11
2425
- 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).
2926
- 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).
3032
if: repo = clojure-emacs/cider-nrepl
3133
AND type != pull_request
3234
AND ( branch = master OR branch =~ ^v[0-9]+\.[0-9]+\.[0-9]+.*$ )
3335
jobs:
3436
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
3839

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
4442

45-
# Test Clojure master against a single JDK
4643
- stage: test
4744
env: CLOJURE_VERSION=master TARGET='test smoketest'
4845
jdk: openjdk11
4946

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
5849
jdk: openjdk11
50+
after_success: bash <(curl -s https://codecov.io/bash) -f target/coverage/codecov.json
5951

60-
# Deployment
6152
- stage: deploy
6253
env: TARGET=deploy
63-
jdk: openjdk11
6454

65-
fast_finish: true # don't wait for allowed failures before build finish
55+
fast_finish: true
6656
allow_failures:
6757
- jdk: openjdk-ea
6858
- env: CLOJURE_VERSION=master TARGET='test smoketest'

0 commit comments

Comments
 (0)