language: java

before_install:
  - wget http://openengsb.org/travis/oeb_bootstrap_m2_repo.zip
  - unzip oeb_bootstrap_m2_repo.zip
  - rm -rf ~/.m2/repository
  - mv repository ~/.m2/
  - rm oeb_bootstrap_m2_repo.zip

install: 

script: mvn install -Pitests,checkstyle,licenseCheck

notifications:
  email:
      recipients:
          - openengsb-notification@googlegroups.com
      on_success: [change]
      on_failure: [always]

env:
    global:
        - SONATYPE_USERNAME=pieber
        - secure: "EiLC8J1Ht7JR8Yw+a80Frq6zQOIdX71RBeB8VpB8f/rmZ3U6Utic0rAATqq6\nGaf3C4ihnNoUfpBUeZF2JUTml/d4LBqBBP3WB+TZgDbi30tEif1re92jwEVH\nbBWB+y5xzOlzncL9rVWfTpuIV3GZU7uFMOmS5QZ841xLo7a+2eQ="

after_success:
  - wget https://raw.github.com/openengsb/openengsb-root/master/etc/travis/addServer.py
  - wget https://raw.github.com/openengsb/openengsb-root/master/etc/travis/deploy
  - python addServer.py
  - chmod -R 777 deploy
  - ./deploy

language: java

before_install:
  - wget http://openengsb.org/travis/oeb_bootstrap_m2_repo.zip
  - unzip oeb_bootstrap_m2_repo.zip
  - rm -rf ~/.m2/repository
  - mv repository ~/.m2/
  - rm oeb_bootstrap_m2_repo.zip

install: mvn validate

script: mvn install -Pitests,checkstyle,licenseCheck

notifications:
  email:
      recipients:
          - openengsb-notification@googlegroups.com
      on_success: [change]
      on_failure: [always]

env:
    global:
        - SONATYPE_USERNAME=pieber
        - secure: "EiLC8J1Ht7JR8Yw+a80Frq6zQOIdX71RBeB8VpB8f/rmZ3U6Utic0rAATqq6\nGaf3C4ihnNoUfpBUeZF2JUTml/d4LBqBBP3WB+TZgDbi30tEif1re92jwEVH\nbBWB+y5xzOlzncL9rVWfTpuIV3GZU7uFMOmS5QZ841xLo7a+2eQ="

after_success:
  - wget https://raw.github.com/openengsb/openengsb-root/master/etc/travis/addServer.py
  - wget https://raw.github.com/openengsb/openengsb-root/master/etc/travis/deploy
  - python addServer.py
  - chmod -R 777 deploy
  - ./deploy

Make sure that no full install is done on install
[OPENENGSB-3607] Make sure that no full install is done on install
