Move travis setup to dedicated sh file and make sqlite non-optional

Change-Id: Idfb0be03885c462a0d4a4a24ebf147b976d856f4