diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2019-06-05 19:31:35 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-06-05 19:31:35 +0300 |
commit | d2cc841c55d65bc8134bfb3a467e66c36ac32b0a (patch) | |
tree | f333b92c2c2623e7d2c3d0c4b785295f40c57cd8 /lib/gitlab/ci/templates/Laravel.gitlab-ci.yml | |
parent | e7b6dace063fce593e6f9ac61390e7385a9868a1 (diff) |
Add yaml lint
This commit adds CI job that validates all `*.yml`
with `yamllint`.
This commit fixes all offenses present in repository.
Diffstat (limited to 'lib/gitlab/ci/templates/Laravel.gitlab-ci.yml')
-rw-r--r-- | lib/gitlab/ci/templates/Laravel.gitlab-ci.yml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/gitlab/ci/templates/Laravel.gitlab-ci.yml b/lib/gitlab/ci/templates/Laravel.gitlab-ci.yml index e1cd29ecc94..9bde04dff19 100644 --- a/lib/gitlab/ci/templates/Laravel.gitlab-ci.yml +++ b/lib/gitlab/ci/templates/Laravel.gitlab-ci.yml @@ -16,8 +16,8 @@ variables: # http://docs.gitlab.com/ce/ci/yaml/README.html#cache cache: paths: - - vendor/ - - node_modules/ + - vendor/ + - node_modules/ # This is a basic example for a gem or script which doesn't use # services such as redis or postgres @@ -37,7 +37,7 @@ before_script: - docker-php-ext-enable xdebug # Install Composer and project dependencies. - curl -sS https://getcomposer.org/installer | php - - php composer.phar install + - php composer.phar install # Install Node dependencies. # comment this out if you don't have a node dependency - npm install @@ -63,10 +63,10 @@ before_script: test: script: - # run laravel tests - - php vendor/bin/phpunit --coverage-text --colors=never - # run frontend tests - # if you have any task for testing frontend - # set it in your package.json script - # comment this out if you don't have a frontend test - - npm test + # run laravel tests + - php vendor/bin/phpunit --coverage-text --colors=never + # run frontend tests + # if you have any task for testing frontend + # set it in your package.json script + # comment this out if you don't have a frontend test + - npm test |