cleanup the travis file
This commit is contained in:
13
.travis.yml
13
.travis.yml
@@ -10,21 +10,13 @@ cache:
|
|||||||
- $HOME/.composer/cache
|
- $HOME/.composer/cache
|
||||||
- $HOME/.npm
|
- $HOME/.npm
|
||||||
|
|
||||||
#env:
|
|
||||||
# - DB=mysql
|
|
||||||
# - DB=mariadb
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- mysql
|
- mysql
|
||||||
# - mariadb
|
|
||||||
- redis-server
|
- redis-server
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
ssh_known_hosts: phpvms.net
|
ssh_known_hosts: phpvms.net
|
||||||
|
|
||||||
#before_install:
|
|
||||||
# - mysql -e 'CREATE DATABASE IF NOT EXISTS phpvms;'
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- cp .travis/env.travis.php env.php
|
- cp .travis/env.travis.php env.php
|
||||||
- composer install --no-interaction --verbose
|
- composer install --no-interaction --verbose
|
||||||
@@ -44,15 +36,10 @@ jobs:
|
|||||||
script: skip
|
script: skip
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- curl -sL https://raw.githubusercontent.com/travis-ci/artifacts/master/install | bash
|
- 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:
|
deploy:
|
||||||
provider: script
|
provider: script
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
script: ./.travis/deploy_script.sh
|
script: ./.travis/deploy_script.sh
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
#condition: $DB = mysql
|
|
||||||
php: '7.0'
|
php: '7.0'
|
||||||
|
|||||||
Reference in New Issue
Block a user