language: java

jdk:
  - oraclejdk8
  
addons:
  apt:
    packages:
      - oracle-java8-installer
  
before_install:
  - "export DISPLAY=:99.0"
  - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x24"
  - "sh -e /etc/init.d/xvfb start"
  - cd jg-bom
  - mvn clean install
  - cd ..
  
install: 
  - mvn clean install -Pprod -fae

after_success:
  - mvn test jacoco:report org.eluder.coveralls:coveralls-maven-plugin:report

deploy:
  provider: heroku
  api_key:
    secure: HR3GKYkETIDvPq/37UQSOnF2qZd8VdMhWkU6qNTz3Wx/QrknGpN5uijHcQd7T2AQvWCwc2eodIL8BYy3xqoEBt5FJ/SeV9qJxbLtlOgjGL6RqkratshvBsXNOdx4RKIUocyLl9nctaELBJTwhwCCFqDljIWriM7k0daLuDMArWo=
  buildpack: https://github.com/jgrades/heroku-buildpack-java.git

notifications:
  email:
    recipients:
      - jgrades.project@gmail.com

language: java

jdk:
  - oraclejdk8
  
addons:
  apt:
    packages:
      - oracle-java8-installer
  
before_install:
  - "export DISPLAY=:99.0"
  - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x24"
  - "sh -e /etc/init.d/xvfb start"
  - cd jg-bom
  - mvn clean install
  - cd ..
  
install: 
  - mvn clean install -Pprod -fae

after_success:
  - mvn test jacoco:report org.eluder.coveralls:coveralls-maven-plugin:report

deploy:
  provider: heroku
  api_key:
    secure: EIxRbFsd7VYxzkCg2+k6YSTYP7+VHvTI9mQ+5/uFvk2Fo1idnxpGPlgn/ieGhmACW3Q+scQpOmKjQsdVFK9RMyR83xCgFyrF80NnNesDlPCGO6/zR5njLOftCQdFUvgIgVKcKko3O7g1RiyKDDKx9gjBrwnmIioywBHGbLqCdLo=
  buildpack: https://github.com/jgrades/heroku-buildpack-java.git

notifications:
  email:
    recipients:
      - jgrades.project@gmail.com

Prepare heroku deployment of REST WS
Prepare heroku deployment of REST WS
