Update push.sh

This commit is contained in:
Pl4gue
2017-12-25 15:14:57 +01:00
parent 5411c42c3d
commit 7d698dc30d

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"
}