Skip to content

Commit

Permalink
chore: travis deployed too fat phar archives. Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Niktux committed Nov 9, 2016
1 parent 88635b4 commit 1aabe21
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ before_script:
script:
- vendor/bin/phpunit -c phpunit.xml

before_deploy: make phar
before_deploy:
- composer install --no-dev
- make phar

deploy:
provider: releases
Expand Down
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
BOX_VERSION=2.7.4

test-phar: prepare-env phar restore-env

prepare-env:
php composer.phar install --no-dev

restore-env:
php composer.phar install

phar: box.phar
php -d phar.readonly=off box.phar build

Expand Down

0 comments on commit 1aabe21

Please sign in to comment.