Add script-block to travis configuration