Update push.sh

This commit is contained in:
Pl4gue
2017-12-25 15:14:57 +01:00
parent 759d5fa3bc
commit f6c4566292

View File

@ -7,6 +7,11 @@ setup_git() {
commit_website_files() {
git checkout master
if [[ $(( $TRAVIS_BUILD_NUMBER % 5 )) == 0 ]]; then
n = $(( ($TRAVIS_BUILD_NUMBER-270)/5))
npm run linter
echo "Linting build: $n"
fi
git add *
git commit --message "Travis build: $TRAVIS_BUILD_NUMBER"
}