general:
  artifacts:
    - onyx.log

test:
  override:
          #- lein with-profile dev,circle-ci,clojure-1.7 test :smoke:
          #timeout: 120
    - ./scripts/circle-runner.sh aeron clojure-1.8:
        timeout: 480
        parallel: true
    - ./scripts/reflection-check.sh:
        timeout: 120

machine:
  java:
    version: oraclejdk8

dependencies:
  pre:
    - sudo pip install awscli
    - echo '{:user {:plugins [[lein-voom "0.1.0-20160311_203101-g259fbfc"]]}}' > ~/.lein/profiles.clj
    - lein voom build-deps
    - curl https://gist.githubusercontent.com/lbradstreet/d9d20e9693f5e32374b3da1f45918e88/raw/9124a9ad4ab1c5ed7a9eb9b29e1dc06f3b03ced9/releasegist.txt >> ~/.ssh/config
    - gem install asciidoctor coderay

notify:
  webhooks:
    - url: https://webhooks.gitter.im/e/7f6cadb429def50c94a2

deployment:
  update-projects:
    branch: master
    commands:
      - git config --global user.email "michael.drogalis@onyxplatform.org"
      - git config --global user.name "OnyxBot"
      - lein deploy
      - lein unison update-projects
      - lein unison release-projects 0.12.x
