Skip to content

Commit

Permalink
Remove unnecessary files from build
Browse files Browse the repository at this point in the history
  • Loading branch information
budziam committed Aug 9, 2018
1 parent 6b2e009 commit 5267542
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,21 @@ install:
before_deploy:
- rm -Rf vendor
- composer install --no-dev --no-interaction
- zip -r --exclude='*.git*' --exclude='*tests*' --exclude='*phpunit.xml' --exclude='*.travis.yml' build.zip .
- |
zip -r \
--exclude='.git*' \
--exclude='tests/*' \
--exclude='docker-compose.yml' \
--exclude='docker/*' \
--exclude='data/cache/**' \
--exclude='data/transfers/**' \
--exclude='errors/**' \
--exclude='phpunit.xml' \
--exclude='.travis.yml' \
--exclude='composer.json' \
--exclude='composer.lock' \
--exclude='README.md' \
build.zip .
deploy:
provider: releases
Expand Down

0 comments on commit 5267542

Please sign in to comment.