cleanup the travis file

This commit is contained in:
Nabeel Shahzad 2018-01-20 10:18:42 -05:00
parent 5ff64e16df
commit 3b4ef817a1

View File

@ -10,21 +10,13 @@ cache:
- $HOME/.composer/cache
- $HOME/.npm
#env:
# - DB=mysql
# - DB=mariadb
services:
- mysql
# - mariadb
- redis-server
addons:
ssh_known_hosts: phpvms.net
#before_install:
# - mysql -e 'CREATE DATABASE IF NOT EXISTS phpvms;'
before_script:
- cp .travis/env.travis.php env.php
- composer install --no-interaction --verbose
@ -44,15 +36,10 @@ jobs:
script: skip
before_deploy:
- curl -sL https://raw.githubusercontent.com/travis-ci/artifacts/master/install | bash
#- 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)"
#- chmod 600 /tmp/deploy_rsa
#- ssh-add /tmp/deploy_rsa
deploy:
provider: script
skip_cleanup: true
script: ./.travis/deploy_script.sh
on:
branch: master
#condition: $DB = mysql
php: '7.0'