language: java
jdk:
  - oraclejdk7

before_install:
  - sudo rm -f /etc/mavenrc
  - export MAVEN_OPTS=-Xmx3g

language: java
jdk:
  - oraclejdk7

before_script:
  - sudo rm -f /etc/mavenrc
  - export MAVEN_OPTS=-Xmx3g

script:
  - mvn install

Use script instead of install phase
Use script instead of install phase
