diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 3cd59c5f..821ae48f 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -86,6 +86,7 @@ before_script: | |||
86 | install: | 86 | install: |
87 | - if [[ $ASSETS = build ]]; then source ~/.nvm/nvm.sh && nvm install 5.0; fi; | 87 | - if [[ $ASSETS = build ]]; then source ~/.nvm/nvm.sh && nvm install 5.0; fi; |
88 | - if [[ $ASSETS = build ]]; then npm install -g npm@latest; fi; | 88 | - if [[ $ASSETS = build ]]; then npm install -g npm@latest; fi; |
89 | - if [[ $ASSETS = build ]]; then npm install; fi; | ||
89 | 90 | ||
90 | before_install: | 91 | before_install: |
91 | - if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi; | 92 | - if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi; |
@@ -96,4 +97,4 @@ script: | |||
96 | - if [[ $VALIDATE_TRANSLATION_FILE = '' || $ASSETS = '' ]]; then phpunit -v ; fi; | 97 | - if [[ $VALIDATE_TRANSLATION_FILE = '' || $ASSETS = '' ]]; then phpunit -v ; fi; |
97 | - if [[ $CS_FIXER = run ]]; then php bin/php-cs-fixer fix src/ --verbose --dry-run ; fi; | 98 | - if [[ $CS_FIXER = run ]]; then php bin/php-cs-fixer fix src/ --verbose --dry-run ; fi; |
98 | - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml src/Wallabag/CoreBundle/Resources/translations -v ; fi; | 99 | - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml src/Wallabag/CoreBundle/Resources/translations -v ; fi; |
99 | - if [[ $ASSETS = build ]]; then grunt; fi; | 100 | - if [[ $ASSETS = build ]]; then ./node_modules/grunt-cli/bin/grunt; fi; |