Linter cleanuo

This commit is contained in:
Angelos Chalaris
2017-12-28 10:34:36 +02:00
parent 294a22ea5e
commit f00977f28c
2 changed files with 1 additions and 5 deletions

View File

@ -7,6 +7,7 @@ before_install:
- npm install webber - npm install webber
- npm install builder - npm install builder
- npm install tagger - npm install tagger
- npm install linter
script: script:
- npm run tagger - npm run tagger
- npm run linter - npm run linter

View File

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