Artifact Content
Not logged in

Artifact 748215533bbb517ed33e29202e2c22775842e58e:


machine:
  java:
    version: oraclejdk8

dependencies:
  pre:
    # we rely on the source of several other ILP projects for now. 
    # TODO: once we reach a release milestone, swap this for dependecies on published jars
    # Note: we have a dependency on an custom branch of crypto-conditions. remove this ASAP! 
    - cd .. && git clone https://github.com/interledger/java-crypto-conditions && cd java-crypto-conditions && git checkout origin/ahb-uri-updates
    - cd .. && git clone https://github.com/interledger/java-ilp-core
    - cd .. && git clone https://github.com/interledger/java-ilp-client

test:
  override:
    # we override the standard circleci gradle test to include the checkstyle checks
    - if [ -e ./gradlew ]; then ./gradlew test check;else gradle test check;fi
  post:
    # see https://circleci.com/docs/test-metadata/#gradle-junit-results
    - mkdir -p $CIRCLE_TEST_REPORTS/junit/
    - find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
    - mkdir -p $CIRCLE_TEST_REPORTS/checkstyle/
    - find . -type f -regex ".*/build/reports/checkstyle/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/checkstyle/ \;