forked from clojure-emacs/cider-nrepl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
89 lines (80 loc) · 3.7 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
language: clojure
sudo: false
cache:
directories:
- $HOME/.m2
install:
- wget -c https://raw.githubusercontent.com/technomancy/leiningen/2.6.1/bin/lein -O lein-261
- chmod 755 lein-261
- ./lein-261
before_script:
- ./lein-261 --version
script:
- ./lein-261 source-deps
- $TEST_CMD
env:
- TEST_CMD="./lein-261 with-profile +1.7,+plugin.mranderson/config,+test-clj test"
- TEST_CMD="./lein-261 with-profile +1.7,+plugin.mranderson/config,+test-cljs test"
- TEST_CMD="./lein-261 with-profile +1.8,+plugin.mranderson/config,+test-clj test"
- TEST_CMD="./lein-261 with-profile +1.8,+plugin.mranderson/config,+test-cljs test"
- TEST_CMD="./lein-261 with-profile +master,+plugin.mranderson/config,+test-clj test"
- TEST_CMD="./lein-261 with-profile +master,+plugin.mranderson/config,+test-cljs test"
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
matrix:
include:
- env:
- CLOVERAGE_VERSION="1.0.7-SNAPSHOT"
- TEST_CMD="./lein-261 with-profile +1.7,+test-clj,+test-cljs,+cloverage cloverage --codecov"
after_success: bash <(curl -s https://codecov.io/bash) -f target/coverage/codecov.json
jdk: oraclejdk8
- env:
- CLOVERAGE_VERSION="1.0.7-SNAPSHOT"
- TEST_CMD="./lein-261 with-profile +1.7,+test-clj,+test-cljs,+cloverage cloverage --coveralls"
after_success: curl -F json_file=@target/coverage/coveralls.json https://coveralls.io/api/v1/jobs
jdk: oraclejdk8
- env: TEST_CMD="./lein-261 with-profile +1.7,+test-clj,+test-cljs,+eastwood eastwood"
jdk: oraclejdk8
- env: TEST_CMD="./lein-261 with-profile +1.7,+test-clj,+test-cljs,+cljfmt cljfmt check"
jdk: oraclejdk8
exclude:
# Only test openjdk against the latest Clojure stable.
- env: TEST_CMD="./lein-261 with-profile +master,+plugin.mranderson/config,+test-clj test"
jdk: openjdk7
- env: TEST_CMD="./lein-261 with-profile +master,+plugin.mranderson/config,+test-cljs test"
jdk: openjdk7
- env: TEST_CMD="./lein-261 with-profile +1.7,+plugin.mranderson/config,+test-clj test"
jdk: openjdk7
- env: TEST_CMD="./lein-261 with-profile +1.7,+plugin.mranderson/config,+test-cljs test"
jdk: openjdk7
# Testing Clojure master is about foreseeing incompatible changes,
# not about uncovering incompatibilities with specific jdk
# versions, so a single build (oraclejdk8) should be enough.
- env: TEST_CMD="./lein-261 with-profile +master,+plugin.mranderson/config,+test-clj test"
jdk: oraclejdk7
- env: TEST_CMD="./lein-261 with-profile +master,+plugin.mranderson/config,+test-cljs test"
jdk: oraclejdk7
# "fast_finish" means "don't wait for the allowed failures".
fast_finish: true
allow_failures:
- env: TEST_CMD="./lein-261 with-profile +1.8,+plugin.mranderson/config,+test-cljs test"
jdk: oraclejdk7
- env: TEST_CMD="./lein-261 with-profile +1.7,+plugin.mranderson/config,+test-cljs test"
jdk: oraclejdk7
- env: TEST_CMD="./lein-261 with-profile +1.7,+test-clj,+test-cljs,+cljfmt cljfmt check"
- env: TEST_CMD="./lein-261 with-profile +1.7,+test-clj,+test-cljs,+eastwood eastwood"
- env:
- CLOVERAGE_VERSION="1.0.7-SNAPSHOT"
- TEST_CMD="./lein-261 with-profile +1.7,+test-clj,+test-cljs,+cloverage cloverage --codecov"
- env:
- CLOVERAGE_VERSION="1.0.7-SNAPSHOT"
- TEST_CMD="./lein-261 with-profile +1.7,+test-clj,+test-cljs,+cloverage cloverage --coveralls"
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/14f0f7b4d5b20a70d032
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always