see if build works in hhvm

This commit is contained in:
Nabeel Shahzad 2017-12-28 17:32:40 -06:00
parent 3b5feb9b1f
commit e4a0bcf9b1

View File

@ -1,31 +1,41 @@
#
#
language: php language: php
php: php:
- '7.0' - '7.0'
- '7.1' - '7.1'
- '7.2' - '7.2'
- hhvm
services: services:
- mysql - mysql
addons: addons:
ssh_known_hosts: phpvms.net ssh_known_hosts: phpvms.net
before_install: before_install:
- mysql -e 'CREATE DATABASE IF NOT EXISTS phpvms;' - mysql -e 'CREATE DATABASE IF NOT EXISTS phpvms;'
before_script: before_script:
#- cp .travis/env.travis .env - cp .travis/env.travis.php env.php
- cp .travis/env.travis.php env.php - composer install --no-interaction --prefer-dist
- composer install --no-interaction --prefer-dist
script: script:
- php artisan database:create --reset - php artisan database:create --reset
- php artisan migrate:refresh --seed - php artisan migrate:refresh --seed
- cp .travis/phpunit.travis.xml phpunit.xml - cp .travis/phpunit.travis.xml phpunit.xml
- vendor/bin/phpunit --debug --verbose - vendor/bin/phpunit --debug --verbose
after_failure: after_failure:
- cat storage/logs/*.log - cat storage/logs/*.log
before_deploy: before_deploy:
#- composer --no-dev update - openssl aes-256-cbc -K $encrypted_6ae8173eef05_key -iv $encrypted_6ae8173eef05_iv -in .travis/deploy_rsa.enc -out /tmp/deploy_rsa -d
- openssl aes-256-cbc -K $encrypted_6ae8173eef05_key -iv $encrypted_6ae8173eef05_iv -in .travis/deploy_rsa.enc -out /tmp/deploy_rsa -d - eval "$(ssh-agent -s)"
- eval "$(ssh-agent -s)" - chmod 600 /tmp/deploy_rsa
- chmod 600 /tmp/deploy_rsa - ssh-add /tmp/deploy_rsa
- ssh-add /tmp/deploy_rsa
deploy: deploy:
provider: script provider: script
skip_cleanup: true skip_cleanup: true