forked from cloverage/cloverage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (34 loc) · 1011 Bytes
/
.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
language: clojure
lein: 2.8.1
sudo: false
install:
# Get recent node:
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
- npm install -g eclint
before_script:
- eclint check .* **
- |
(cd cloverage && \
lein do cljfmt check, \
eastwood "{:exclude-namespaces [cloverage.sample.exercise-instrumentation]}", \
eastwood "{:namespaces [cloverage.sample.exercise-instrumentation] \
:exclude-linters [:unused-ret-vals \
:suspicious-test \
:constant-test \
:wrong-pre-post]}", \
kibit)
- (cd lein-cloverage && lein do cljfmt check, eastwood, kibit)
script:
- (cd cloverage && lein with-profile +sample test)
- (cd lein-cloverage && lein test)
cache:
directories:
- $HOME/.m2
jdk:
- oraclejdk9
- openjdk7
- openjdk8
after_success:
- bash deploy.sh