language: java
jdk:
  - oraclejdk8
os:
  - linux
  - osx
script:
 - mvn test -Prelease -B

language: java
jdk:
  - oraclejdk8
os:
  - linux
  - osx
install:
 - mvn clean install -Ptest -DskipTests=true
script:
 - mvn test -Ptest

Test profile instead of release
Test profile instead of release