language: java
jdk:
  - oraclejdk7
## Run Integration tests

# All tests that should be run 
script: "mvn -f JavaRoles/pom.xml clean && mvn -f JavaRoles/pom.xml -Dlog4j.configuration=file:log4j.properties -Dea -Dtest=pt.mashashi.javaroles.typed.RolesTest test && mvn -f JavaRoles/pom.xml clean && mvn -f JavaRoles/pom.xml -Dlog4j.configuration=file:log4j.properties -Dea -Dtest=pt.mashashi.javaroles.composition.RolesTest test" #&& mvn -f JavaRoles/pom.xml clean

# Reference commands
#script: "mvn -f JavaRoles/pom.xml clean"
#mvn compile
#mvn test
#script: "mvn -f JavaRoles/pom.xml test && mvn -f JavaRoles/pom.xml verify"

after_success:
  - mvn -X -f JavaRoles/pom.xml -Dlog4j.configuration=file:log4j.properties -Dea clean cobertura:cobertura coveralls:report -Ptest
language: java
jdk:
  - oraclejdk7
## Run Integration tests

# All tests that should be run 
script: "mvn -f JavaRoles/pom.xml clean && mvn -f JavaRoles/pom.xml -Dlog4j.configuration=file:log4j.properties -Dea -Dtest=pt.mashashi.javaroles.typed.RolesTest test && mvn -f JavaRoles/pom.xml clean && mvn -f JavaRoles/pom.xml -Dlog4j.configuration=file:log4j.properties -Dea -Dtest=pt.mashashi.javaroles.composition.RolesTest test" #&& mvn -f JavaRoles/pom.xml clean

# Reference commands
#script: "mvn -f JavaRoles/pom.xml clean"
#mvn compile
#mvn test
#script: "mvn -f JavaRoles/pom.xml test && mvn -f JavaRoles/pom.xml verify"

after_success:
  - mvn -X -f JavaRoles/pom.xml -Dlog4j.configuration=file:log4j.properties -Dea clean cobertura:cobertura coveralls:report -Dtest=pt.mashashi.javaroles.composition.RolesTest test
Add a test to cobertura command
Add a test to cobertura command
