Skip to content

Commit 1d060b9

Browse files
authored
Merge pull request #211 from auth0/circle2.0
Use Circle 2.0
2 parents 34aee16 + bb5b897 commit 1d060b9

3 files changed

Lines changed: 62 additions & 21 deletions

File tree

.circleci/config.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
version: 2
2+
jobs:
3+
java_7_build:
4+
docker:
5+
- image: openjdk:7u121-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)
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
29+
30+
java_8_build:
31+
docker:
32+
- image: openjdk:8-jdk
33+
steps:
34+
- checkout
35+
- run: chmod +x gradlew
36+
# Download and cache dependencies
37+
- restore_cache:
38+
keys:
39+
- v1-dependencies-{{ checksum "build.gradle" }}
40+
# fallback to using the latest cache if no exact match is found
41+
- v1-dependencies-
42+
# run tests!
43+
- run: ./gradlew clean check jacocoTestReport --continue --console=plain
44+
- run:
45+
name: Upload Coverage
46+
when: on_success
47+
command: bash <(curl -s https://codecov.io/bash)
48+
- save_cache:
49+
paths:
50+
- ~/.m2
51+
key: v1-dependencies-{{ checksum "build.gradle" }}
52+
environment:
53+
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
54+
_JAVA_OPTIONS: "-Xms512m -Xmx1024m"
55+
TERM: dumb
56+
57+
workflows:
58+
version: 2
59+
build:
60+
jobs:
61+
- java_7_build
62+
- java_8_build

circle.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

lib/src/test/java/com/auth0/jwt/impl/NullClaimTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import org.junit.Before;
44
import org.junit.Test;
5-
import org.omg.CORBA.Object;
65

76
import static org.hamcrest.Matchers.is;
87
import static org.hamcrest.Matchers.nullValue;

0 commit comments

Comments
 (0)