language: java
jdk:
  - openjdk11

addons:
  apt:
    packages:
      - oracle-java9-installer
      
script: mvn install

before_install:
- ./etc/before.sh

deploy:
  skip_cleanup: true
  provider: script
  script: mvn deploy
  on:
    branch: master

language: java
jdk:
  - openjdk12

addons:
  apt:
    packages:
      - oracle-java9-installer
      
script: mvn install

before_install:
- ./etc/before.sh

deploy:
  skip_cleanup: true
  provider: script
  script: mvn deploy
  on:
    branch: master

Build fails for whatever reason -.-
Build fails for whatever reason -.-