Skip to content

Commit

Permalink
feature #984 Fail CI if the repo is in a dirty state after building a…
Browse files Browse the repository at this point in the history
…ssets (bocharsky-bw)

This PR was merged into the master branch.

Discussion
----------

Fail CI if the repo is in a dirty state after building assets

In order to prevent things fixed in #982 I think we can check for missing assets on TravisCI

Tests should pass after merging #982

Commits
-------

1ae5bb1 Fail CI if the repo is in a dirty state after building assets
  • Loading branch information
javiereguiluz committed Jun 3, 2019
2 parents bdd0a35 + 1ae5bb1 commit 4a1acec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: php
sudo: false

cache:
yarn: true
directories:
- $HOME/.composer/cache/files
- ./bin/.phpunit
Expand Down Expand Up @@ -43,3 +44,5 @@ script:
- ./bin/console security:check
# this checks that Doctrine's mapping configurations are valid
- ./bin/console doctrine:schema:validate --skip-sync -vvv --no-interaction
# Fail CI if the repo is in a dirty state after building assets
- yarn install && yarn build && git add --all && git diff --staged --shortstat --exit-code

0 comments on commit 4a1acec

Please sign in to comment.