sudo: required
addons:
  apt:
    packages:
      - oracle-java8-installer
      - git

language: java
jdk:
  - oraclejdk8
  - oraclejdk9

before_script:
    - "sudo git clone https://www.github.com/P-H-C/phc-winner-argon2.git argon2-src"
    - "cd argon2-src && sudo make && sudo make install && cd .."

script: mvn clean verify -B

notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/952357dbd9d3cea70fd5
    on_success: change  # options: [always|never|change] default: always
    on_failure: always  # options: [always|never|change] default: always
    on_start: false     # default: false
