AMD64
no language set
Git
mkdtravis/testingdocker:.travis.yml@9aab9c8
language: shell
os: linux
dist: focal
before_install:
- echo "This is a simple .travis.yml file for shell."
script:
- |
if [[ $TRAVIS_BRANCH != "master" && $TRAVIS_BRANCH != "stage" && $TRAVIS_BRANCH != "release" && $TRAVIS_BRANCH != "docker-image" ]]; then
echo "Build process for branches other than master, stage, release, and docker-image"
# Add your build commands here
else
echo "Skipping build process for branch $TRAVIS_BRANCH"
fi
branches:
except:
- master
- stage
- release
- docker-image
Build Config
{
"language": "shell",
"os": [
"linux"
],
"dist": "focal",
"before_install": [
"echo \"This is a simple .travis.yml file for shell.\""
],
"script": [
"if [[ $TRAVIS_BRANCH != \"master\" && $TRAVIS_BRANCH != \"stage\" && $TRAVIS_BRANCH != \"release\" && $TRAVIS_BRANCH != \"docker-image\" ]]; then\n echo \"Build process for branches other than master, stage, release, and docker-image\"\n # Add your build commands here\nelse\n echo \"Skipping build process for branch $TRAVIS_BRANCH\"\nfi\n"
],
"branches": {
"except": [
"master",
"stage",
"release",
"docker-image"
]
}
}