machine:
  environment:
    TERM: 'dumb'
    ADB_INSTALL_TIMEOUT: 10
    PATH: "/home/ubuntu/buck/bin:$PATH"
  java:
    version: 'oraclejdk8'

dependencies:
  override:
    # Buck and Android
    - if [[ ! -e /home/ubuntu/buck ]]; then git clone https://github.com/facebook/buck.git /home/ubuntu/buck; fi
    - cd /home/ubuntu/buck && ant
    - buck --version
    - source scripts/circle-ci-android-setup.sh && getAndroidSDK
    - buck fetch :components
    - buck fetch litho-it/...
    - buck fetch sample/...

  cached_directories:
    - "/home/ubuntu/buck"

test:
  override:
    # Build the sample first
    - buck build sample
    # Run the tests with Buck
    - buck test litho-it/src/test/... --config build.threads=1
    # Run them again with Gradle
    - ./gradlew test

experimental:
  notify:
    branches:
      only:
        - master

machine:
  environment:
    TERM: 'dumb'
    ADB_INSTALL_TIMEOUT: 10
    PATH: "/home/ubuntu/buck/bin:$PATH"
  java:
    version: 'oraclejdk8'

dependencies:
  override:
    # Buck and Android
    - if [[ ! -e /home/ubuntu/buck ]]; then git clone https://github.com/facebook/buck.git /home/ubuntu/buck; fi
    - cd /home/ubuntu/buck && ant
    - buck --version
    - source scripts/circle-ci-android-setup.sh && getAndroidSDK
    - buck fetch :components
    - buck fetch litho-it/...
    - buck fetch sample/...

  cached_directories:
    - "/home/ubuntu/buck"

test:
  override:
    # Build the sample first
    - buck build sample
    # Run the tests with Buck
    - buck test litho-it/src/test/... --config build.threads=1

experimental:
  notify:
    branches:
      only:
        - master

Remove gradle call from Circle
Remove gradle call from Circle

Summary: Should have happened as part of the revert in D4883432. Soz.

Reviewed By: emilsjolander

Differential Revision: D4885914

fbshipit-source-id: bd91fc477b2632787b0a89c015f8ee202e84eedb
