add before install for travis, modded example config so that it is usaable for running tests