File tree Expand file tree Collapse file tree
lib/src/test/java/com/auth0/jwt/impl Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22
33import org .junit .Before ;
44import org .junit .Test ;
5- import org .omg .CORBA .Object ;
65
76import static org .hamcrest .Matchers .is ;
87import static org .hamcrest .Matchers .nullValue ;
You can’t perform that action at this time.
0 commit comments