Caching ComputerCraft versions
Every time howl.ci runs you have to wait for the ComputerCraft file to be downloaded. Instead, we can utilise Travis's caching capabilities to save the ComputerCraft file.
In order to cache, we'll have to download to a directory instead. We'll choose to use $HOME/.cc-jars
but we'll have to create that first. Then we simply set Travis to download that.
install: - mkdir -p $HOME/.cc-jars - wget -O howlci.jar https://dl.bintray.com/squiddev/maven/org/squiddev/howl.ci//howl.ci-.jar cache: directories: - $HOME/.cc-jars
Then we just need to instruct the howl.ci runner to download into that directory instead. This is a trivial
addition to our .howl.ci.properties
file.
computercraft.file=${HOME}/.cc-jars/ComputerCraft1.79.jar
The first time you run using caching it'll still download the files, but after that you'll never have to wait again!