diff --git a/.travis.yml b/.travis.yml index 987143aec..00b73d9a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,7 +41,7 @@ script: - STATUSCODE=$(curl -A "masscan" http://localhost:9000/index.php &> /dev/stderr --write-out "%{http_code}") | if test $STATUSCODE 52; then exit 0; fi - STATUSCODE=$(curl -I http://localhost:9000/index.php -e http://100dollars-seo.com &> /dev/stderr --write-out "%{http_code}") | if test $STATUSCODE 52; then exit 0; fi - STATUSCODE=$(curl -I http://localhost:9000/index.php -e http://zx6.ru &> /dev/stderr --write-out "%{http_code}") | if test $STATUSCODE 52; then exit 0; fi - - travisCI/change-file.sh + - travisCI/modify-files-and-commit.sh before_deploy: - travisCI/deploy-package.sh diff --git a/travisCI/change-file.sh b/travisCI/modify-files-and-commit.sh similarity index 62% rename from travisCI/change-file.sh rename to travisCI/modify-files-and-commit.sh index cf12a9f6d..320592913 100755 --- a/travisCI/change-file.sh +++ b/travisCI/modify-files-and-commit.sh @@ -23,14 +23,9 @@ git checkout master # Modify our file and make sure Travis is owner sudo $TRAVIS_BUILD_DIR/travisCI/modify-globalblacklist.sh sudo $TRAVIS_BUILD_DIR/travisCI/modify-readme.sh -sudo chown -R travis:travis $TRAVIS_BUILD_DIR/* +#sudo chown -R travis:travis $TRAVIS_BUILD_DIR/* -# Add the modified file to the and commit it -#git add $TRAVIS_BUILD_DIR/README.md -#git add $TRAVIS_BUILD_DIR/AUTO-CONFIGURATION.md -#git add $TRAVIS_BUILD_DIR/MANUAL-CONFIGURATION.md -#git add $TRAVIS_BUILD_DIR/conf.d/globalblacklist.conf -#git add $TRAVIS_BUILD_DIR/_sample_config_files/Engintron_for_cPanel_WHM_Configuration_Example/etc/nginx/conf.d/globalblacklist.conf +# Add the modified files and commit git add -A git commit -am "V3.$YEAR.$MONTH.$TRAVIS_BUILD_NUMBER [ci skip]"