1#!/bin/bash 2# Get current branch name 3# shellcheck disable=SC1117 4current=$(git rev-parse --abbrev-ref HEAD | tr -d "\n") 5git branch -D application_compatibility 2>/dev/null 6git checkout -b application_compatibility 7# Use custom .travis.yml file 8cp app-compat-travis.yml .travis.yml 9git commit -a -m "Trigger application compatibility tests" 10git push --force -u origin application_compatibility 11# Switch back to previous branch 12git checkout "$current" 13