forked from podlove/podlove-publisher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (28 loc) · 879 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
language: php
sudo: false
php:
- 7.2
env:
- WP_VERSION=latest WP_MULTISITE=0
before_install:
- openssl aes-256-cbc -K $encrypted_30816da072e0_key -iv $encrypted_30816da072e0_iv
-in deploy_key.enc -out ./deploy_key -d
- git submodule update --init --recursive
install:
- composer install
before_script:
- bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
script:
- phpunit
notifications:
slack:
secure: HJRRU0ow1EpHxGxkVtT2WvG4Bbw+eeiJy4gACDOp1HmxXvWEH8BMziB8lP5l6Iv6MFcgExrMPFgsJI3PJgO8iTtrSyjebxahv4LFaU7uvoBwklIpeIcNyhg5DEoKenrsmmfwneArhn/1pQZOCrwSAxKqelp/G74AvFB7D/pcc3s=
before_deploy:
- bash bin/travis-prepare-deploy.sh
after_success:
- if [[ $TRAVIS_PHP_VERSION = '7.2' && $WP_VERSION = 'latest' && $WP_MULTISITE = '0'
]]; then bash bin/travis-deploy.sh; fi
addons:
ssh_known_hosts: eric.co.de
services:
- mysql