language: java
script: mvn test && mvn -DfitnesseSuiteToRun=HsacExamples.SlimTests -DseleniumDriverClass=org.openqa.selenium.phantomjs.PhantomJSDriver failsafe:integration-test

after_success:
  - "[[ $TRAVIS_BRANCH == \"master\" ]] && { python addServer.py; mvn -DskipTests deploy --settings ~/.m2/mySettings.xml; };"

language: java
script: mvn -DfitnesseSuiteToRun=HsacExamples.SlimTests -DseleniumDriverClass=org.openqa.selenium.phantomjs.PhantomJSDriver verify

after_success:
  - "[[ $TRAVIS_BRANCH == \"master\" ]] && { python addServer.py; mvn -DskipTests deploy --settings ~/.m2/mySettings.xml; };"

Use verify to run test and integration test in sequence
Use verify to run test and integration test in sequence
