more archiving fixes
This commit is contained in:
parent
cfa46f1f7f
commit
ff1cb959ff
@ -10,12 +10,12 @@ addons:
|
||||
before_install:
|
||||
- mysql -e 'CREATE DATABASE IF NOT EXISTS phpvms;'
|
||||
before_script:
|
||||
- cp .env.travis .env
|
||||
- cp .travis/env.travis .env
|
||||
- composer install --no-interaction
|
||||
script:
|
||||
- php artisan database:create --reset
|
||||
- php artisan migrate:refresh --seed
|
||||
- cp tests/phpunit.travis.xml phpunit.xml
|
||||
- cp .travis/phpunit.travis.xml phpunit.xml
|
||||
- vendor/bin/phpunit --debug --verbose
|
||||
after_failure:
|
||||
- cat storage/logs/*.log
|
||||
|
@ -17,11 +17,10 @@ if [ "$TRAVIS" = "true" ]; then
|
||||
find . -type d -name ".git" | xargs rm -rf
|
||||
rm -rf .idea phpvms.iml .travis .dpl
|
||||
rm -rf .phpstorm.meta.php _ide_helper.php
|
||||
rm -rf .env .env.prod.example
|
||||
mv .env.dev.example .env
|
||||
|
||||
echo "creating tarball"
|
||||
tar -czf /tmp/$TAR_NAME -C $TRAVIS_BUILD_DIR/../ phpvms/.
|
||||
tar -czf /tmp/$TAR_NAME -C $TRAVIS_BUILD_DIR/../ .
|
||||
|
||||
echo "running rsync"
|
||||
rsync -ahP --delete-after /tmp/$TAR_NAME downloads@phpvms.net:/var/www/downloads/
|
||||
|
Loading…
Reference in New Issue
Block a user