machine:
  java:
    version: openjdk7
  services:
    - docker
  environment:
    TERM: dumb

general:
  artifacts:
    - build/libs

test:
  override:
    - ./gradlew --parallel -i build

deployment:
  release:
    tag: /[0-9]+(\.[0-9]+)+/
    commands:
      - ./gradlew -i bintrayUpload
      - ./gradlew -i -Dgradle.publish.key=$GRADLE_KEY -Dgradle.publish.secret=$GRADLE_SECRET publishPlugins


machine:
  java:
    version: openjdk7
  pre:
    - curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.3
    - sudo wget -O /usr/local/bin/docker-compose 'https://github.com/docker/compose/releases/download/1.6.2/docker-compose-Linux-x86_64'
    - sudo chmod 0755 /usr/local/bin/docker-compose
  services:
    - docker
  environment:
    TERM: dumb

general:
  artifacts:
    - build/libs

test:
  override:
    - ./gradlew --parallel -i build

deployment:
  release:
    tag: /[0-9]+(\.[0-9]+)+/
    commands:
      - ./gradlew -i bintrayUpload
      - ./gradlew -i -Dgradle.publish.key=$GRADLE_KEY -Dgradle.publish.secret=$GRADLE_SECRET publishPlugins


Upgrade Docker to 1.10.3 and Docker Compose to 1.6.2
Upgrade Docker to 1.10.3 and Docker Compose to 1.6.2
