Skip to content

Commit

Permalink
add gitlab ci integration (#375)
Browse files Browse the repository at this point in the history
closes #371
  • Loading branch information
zachary-russell authored and gregrickaby committed Jun 12, 2018
1 parent 51700ff commit 7434d33
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
image: protechig/phpcs-docker:alpine
stages:
- linting
phpcs:
stage: linting
script:
- find -L ./ -name '*.php' -print0 | xargs -0 -n 1 php -l
- ~/.composer/vendor/bin/phpcs -p -s -v -n . --standard=WebDevStudios --extensions=php -d memory_limit=256m
- eslint --config .eslintrc.js './assets/scripts/concat'
- sass-lint --config .sass-lint.yml './assets/sass/**/*.scss' --verbose --no-exit

0 comments on commit 7434d33

Please sign in to comment.