language: java
dist: precise
before_script: cd api/
script: mvn test -Ptest -DmessageBirdAccessKey=test_iQpAp0KCs5GCsMpDhIx2leuNB -DmessageBirdMSISDN=31612345678
jdk:
  - oraclejdk8
  - oraclejdk7
  - openjdk6
  - openjdk7

language: java
dist: precise
before_script: cd api/
script: mvn test -Ptest -Dhttps.protocols=TLSv1.2 -DmessageBirdAccessKey=test_iQpAp0KCs5GCsMpDhIx2leuNB -DmessageBirdMSISDN=31612345678
jdk:
  - oraclejdk8
  - oraclejdk7
  - openjdk6
  - openjdk7

Fix Travis build by overriding TLS version, so we can connect to Maven central
Fix Travis build by overriding TLS version, so we can connect to Maven central
