docker-compose run --rm -e SKIP="AuthorName AuthorEmail" cookbook \
bash -c "overcommit --sign && overcommit -r && rspec"
To run integration tests you need Chef Development Kit and Vagrant. After installing it, invoke:
kitchen converge
kitchen verify