language: java

jdk:
  - oraclejdk7

before_install:
  - chmod +x gradlew

script:
  - ./gradlew build --debug

after_success:
  - chmod +x ./script/publish_artifacts.sh
  - ./script/publish_artifacts.sh

language: java

jdk:
  - oraclejdk7

before_install:
  - chmod +x gradlew

script:
  - ./gradlew build --debug

after_success:
  - bash <(curl -s https://codecov.io/bash)
  - chmod +x ./script/publish_artifacts.sh
  - ./script/publish_artifacts.sh

Add codecov reporting after CI successful build.
Add codecov reporting after CI successful build.
