File tree 5 files changed +4
-4
lines changed
5 files changed +4
-4
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
6
6
exit 0 # Always execute full suite on branch builds
7
7
fi
8
8
9
- if [ $( git diff --name-only HEAD origin/master | grep -c -v -e ^docs -e ^CHANGELOG.md -e ^CONTRIBUTING.md -e ^LICENSE -e ^PULL_REQUEST_TEMPLATE.md -e ^ README.md -e ^UPGRADE.md ) -eq 0 ]; then
9
+ if [ $( git diff --name-only HEAD origin/$TRAVIS_BRANCH | grep -c -v -e ^docs -e ^.github -e ^CHANGELOG -e ^LICENSE -e ^README -e ^UPGRADE) -eq 0 ]; then
10
10
print_header " Skipped suite" " Application"
11
11
print_warning " No other changes than those in docs/* were found"
12
12
exit 1
Original file line number Diff line number Diff line change 3
3
source " $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) /../../../bash/common.lib.sh"
4
4
5
5
print_header " Customizing the environment" " Sylius"
6
- run_command " git fetch origin master :refs/remotes/origin/master " || exit $? # Make origin/master available for is_suitable steps
6
+ run_command " git fetch origin $TRAVIS_BRANCH :refs/remotes/origin/$TRAVIS_BRANCH " || exit $? # Make origin/master available for is_suitable steps
7
7
run_command " phpenv config-rm xdebug.ini" # Disable XDebug
8
8
run_command " echo \" memory_limit=4096M\" >> ~/.phpenv/versions/$( phpenv version-name) /etc/conf.d/travis.ini" || exit $? # Increase memory limit to 4GB
9
9
run_command " mkdir -p \" ${SYLIUS_CACHE_DIR} \" " || exit $? # Create Sylius cache directory
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
6
6
exit 0 # Always execute full suite on branch builds
7
7
fi
8
8
9
- if [ $( git diff --name-only HEAD origin/master | grep -c -e ^docs) -eq 0 ]; then
9
+ if [ $( git diff --name-only HEAD origin/$TRAVIS_BRANCH | grep -c -e ^docs) -eq 0 ]; then
10
10
print_header " Skipped suite" " Docs"
11
11
print_warning " No changes detected in docs/*"
12
12
exit 1
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
6
6
exit 0 # Always execute full suite on branch builds
7
7
fi
8
8
9
- if [ $( git diff --name-only HEAD origin/master | grep -c -e ^src/Sylius/Bundle -e ^src/Sylius/Component) -eq 0 ]; then
9
+ if [ $( git diff --name-only HEAD origin/$TRAVIS_BRANCH | grep -c -e ^src/Sylius/Bundle -e ^src/Sylius/Component) -eq 0 ]; then
10
10
print_header " Skipped suite" " Packages"
11
11
print_warning " No changes detected in src/Sylius/Bundle/* or src/Sylius/Component/*"
12
12
exit 1
You can’t perform that action at this time.
0 commit comments