diff --git a/.deploy.sh b/.deploy.sh new file mode 100644 index 000000000..a0c34853e --- /dev/null +++ b/.deploy.sh @@ -0,0 +1,2 @@ +curl -s 'https://forge.laravel.com/servers/168624/sites/481656/deploy/http?token=L2P42Kus2HXrTnM7BIQj747Cvw35AcJJqrhNOwvX'; +echo 'Deployment triggered!' \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 1f60c3562..11b134c49 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,13 +5,14 @@ php: before_script: - cp .env.travis .env + - composer self-update - composer install --no-interaction - php artisan key:generate - php artisan migrate before_install: - - mysql -e 'CREATE DATABASE enso;' + - mysql -e 'create database enso;' services: - mysql @@ -31,5 +32,5 @@ sudo: required script: - phpunit -notifications: -email: false \ No newline at end of file +after_success: + - chmod +x ./.deploy.sh; ./.deploy.sh \ No newline at end of file