language: java

jdk:
  - oraclejdk8

before_install:
  - chmod +x gradlew
  - chmod +x android-app/gradlew

script:
  - ./gradlew build --stacktrace
  - ./gradlew codeCoverageReport
  - ./gradlew publishToMavenLocal
  - cd android-app
  - ./gradlew build

after_success:
  - bash <(curl -s https://codecov.io/bash)

language: java

jdk:
  - oraclejdk8

before_install:
  - chmod +x gradlew

script:
  - ./gradlew build --stacktrace
  - ./gradlew codeCoverageReport

after_success:
  - bash <(curl -s https://codecov.io/bash)

Exclude Android build from the Travis script.
Exclude Android build from the Travis script.
