travis: put installation and test instructions into shell scripts