Skip to content

Instantly share code, notes, and snippets.

Created August 21, 2018 14:47
What would you like to do?
Run line "starting with" inside travis.yml
travis() {
command=$(grep -oP "(?<=- )$1.*" .travis.yml);
echo -e "\e[1;32mRunning: $command\e[0m\n";
eval $command;
Copy link

Simple function to run line "starting with" inside your project .travis.yml file.
Run: travis css-lint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment