Ant Project running Configuration

I tried to run an ant project from github respository with the below circle.yml file content.

machine:

java:
  version: openjdk7
pre:
     post:
      -ant clean compile run

test:

override:

deployment:
branch: master
release:
tag:
commands:

I am not able to run this configuration.