File tree 2 files changed +31
-3
lines changed 2 files changed +31
-3
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ jobs :
3
+ build :
4
+ docker :
5
+ - image : openjdk:8-jdk
6
+ steps :
7
+ - checkout
8
+ - run : chmod +x gradlew
9
+ # Download and cache dependencies
10
+ - restore_cache :
11
+ keys :
12
+ - v1-dependencies-{{ checksum "build.gradle" }}
13
+ # fallback to using the latest cache if no exact match is found
14
+ - v1-dependencies-
15
+ # run tests!
16
+ - run : ./gradlew clean check jacocoTestReport --continue --console=plain
17
+ - run :
18
+ name : Upload Coverage
19
+ when : on_success
20
+ command : bash <(curl -s https://codecov.io/bash) -Z -C $CIRCLE_SHA1
21
+ - save_cache :
22
+ paths :
23
+ - ~/.m2
24
+ key : v1-dependencies-{{ checksum "build.gradle" }}
25
+ environment :
26
+ GRADLE_OPTS : ' -Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
27
+ _JAVA_OPTIONS : " -Xms512m -Xmx1024m"
28
+ TERM : dumb
Original file line number Diff line number Diff line change 1
1
# Guardian Java
2
2
3
- [ ![ Build ] [ travis -ci-badge]] [ travis -ci-url]
3
+ [ ![ CircleCI ] ( circle -ci-badge)] ( circle -ci-url)
4
4
[ ![ MIT] [ mit-badge ]] [ mit-url ]
5
5
[ ![ Maven] [ maven-badge ]] [ maven-url ]
6
6
[ ![ JCenter] [ jcenter-badge ]] [ jcenter-url ]
@@ -166,8 +166,8 @@ This project is licensed under the MIT license. See the [LICENSE](LICENSE) file
166
166
167
167
<!-- Vars -->
168
168
169
- [ travis -ci-badge] : https://travis-ci.org/ auth0/Guardian.java.svg?branch=master
170
- [ travis -ci-url] : https://travis-ci.org/ auth0/Guardian.java
169
+ [ circle -ci-badge] : https://img.shields.io/circleci/project/github/ auth0/Guardian.java.svg?style=flat-square
170
+ [ circle -ci-url] : https://circleci.com/gh/ auth0/Guardian.java/tree/master
171
171
[ mit-badge ] : http://img.shields.io/:license-mit-blue.svg?style=flat
172
172
[ mit-url ] : https://raw.githubusercontent.com/auth0/Guardian.java/master/LICENSE
173
173
[ maven-badge ] : https://img.shields.io/maven-central/v/com.auth0/guardian.svg
You can’t perform that action at this time.
0 commit comments