March 2018
Beginner to intermediate
344 pages
7h 7m
English
The next thing to do is add an appropriate .travis.yml configuration file to our project. This will tell Travis what to do each time we push a build to GitHub. As such, there are two distinct phases that happen when we build with Travis:
We can hook into various stages of the build process such as before_install, install, before_script, script, before_cache, after_success, after_failure, before_deploy, deploy, after_deploy, and after_script. All of these are relatively self-explanatory, but if it seems like a lot to take in—don't worry, we'll only be hooking into a select few of these stages.
Let's add a file named .travis.yml to the root ...
Read now
Unlock full access