forked from nrepl/nrepl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
61 lines (56 loc) · 1.73 KB
/
.travis.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
dist: xenial
language: clojure
lein: 2.8.3
cache:
directories:
- $HOME/.m2
script:
- make $TARGET
env:
matrix:
- VERSION=1.7 TARGET=test
- VERSION=1.8 TARGET=test
- VERSION=1.9 TARGET=test
- VERSION=1.10 TARGET=test
- VERSION=master TARGET=test
global:
# deployment credentials
- secure: "f2pEAipCOs8JRMzSVMnbqBPbWFzI7G/FjPW9FY9ZjAhRvpslRC6JzG4r6uSJMoKU474ZQk+hzpYXCNSuqbztvYdd50J7E5iT3SpOIpRkNHtao0kEfxzFlH7P+sQ0LWPU5KZJXMue/9lKLxXdersdl2SAU7PSntQwqTEEicMluYs="
- secure: "PheOCJixQP9LaDcmkHGAOLmmPG6AQyN+PkgYw23cDTcFA6FKh4uVj28PHhlCQc0V6KrwzDqUAoSzyhSlcGm6LiZks714w6WHL3jpfIxnVKHN0J8FktnCy9Td9nrKhBCC2kNisaEhRyK4LojDcdFpliXZjJoituDnp4YhnaRIpsw="
jdk:
- openjdk8
- openjdk11
- openjdk-ea
stages:
- name: check
jdk: openjdk11
- name: test
- name: deploy
jdk: openjdk11
# Deploy only from the home repo where the credentials can be
# properly decrypted. Never deploy from a pull request job.
# In addition, ensure we're on the master branch (snapshots)
# or a branch with semver naming (releases).
if: repo = nrepl/nrepl
AND type != pull_request
AND ( branch = master OR branch =~ ^v[0-9]+\.[0-9]+\.[0-9]+.*$ )
jobs:
include:
- stage: check
env: VERSION=1.10 TARGET=eastwood
- stage: check
env: VERSION=1.10 TARGET=cljfmt
- stage: check
env: VERSION=1.10 TARGET=verify_cljdoc
- stage: test
env: VERSION=1.10 TARGET=cloverage
jdk: openjdk8
after_success: bash <(curl -s https://codecov.io/bash) -f target/coverage/codecov.json
- stage: deploy
env: TARGET=deploy
matrix:
fast_finish: true
allow_failures:
- jdk: openjdk-ea
- env: VERSION=master TARGET=test
- env: VERSION=1.10 TARGET=cloverage