machine:
  timezone: UTC
  java:
    version: oraclejdk8
  environment:
    TERM: dumb  # don't let gradle use fancy ansi seq code
    BUILD_IMAGE: digdag/digdag-build:20170228T062524-309738ae71c4642d72e2978568fea14a84d0f2a9
  services:
    - docker

dependencies:
  cache_directories:
    - "~/docker"
    - "~/.gradle"
    - "~/.m2"
  override:
    - | # download and cache dependencies
      docker run \
      -w /digdag \
      -v `pwd`/:/digdag \
      -v ~/.gradle:/root/.gradle \
      $BUILD_IMAGE \
      ./gradlew testClasses --no-daemon

test:
  pre:
  override:
    - CI_NODE_TOTAL=$CIRCLE_NODE_TOTAL CI_NODE_INDEX=$CIRCLE_NODE_INDEX ci/run_td_tests.sh:
        parallel: true
  post:
    - ci/circle_gather_test_reports.sh:
        parallel: true

deployment:
  docs:
    branch: master
    commands:
      - ci/run_deployment.sh


machine:
  timezone: UTC
  java:
    version: oraclejdk8
  environment:
    TERM: dumb  # don't let gradle use fancy ansi seq code
    BUILD_IMAGE: digdag/digdag-build:20170228T062524-309738ae71c4642d72e2978568fea14a84d0f2a9
  services:
    - docker

dependencies:
  cache_directories:
    - "~/docker"
    - "~/.gradle"
    - "~/.m2"
  override:
    - | # download and cache dependencies
      docker run \
      -w /digdag \
      -v `pwd`/:/digdag \
      -v ~/.gradle:/root/.gradle \
      $BUILD_IMAGE \
      ./gradlew testClasses --no-daemon
        timeout: 3600

test:
  pre:
  override:
    - CI_NODE_TOTAL=$CIRCLE_NODE_TOTAL CI_NODE_INDEX=$CIRCLE_NODE_INDEX ci/run_td_tests.sh:
        parallel: true
  post:
    - ci/circle_gather_test_reports.sh:
        parallel: true

deployment:
  docs:
    branch: master
    commands:
      - ci/run_deployment.sh


Change default timeout with 3600s
Change default timeout with 3600s
