Update .travis.yml

Run the unit tests only if "BUILD_CORE_ONLY" option is OFF