33 lines
587 B
YAML
33 lines
587 B
YAML
os: linux
|
|
dist: trusty
|
|
|
|
language: php
|
|
|
|
if: tag IS blank
|
|
|
|
stages:
|
|
- test
|
|
- deploy
|
|
|
|
before_script:
|
|
- nvm install 10
|
|
- make install
|
|
|
|
script: make tests
|
|
|
|
jobs:
|
|
include:
|
|
- php: 5.6
|
|
env: WP_VERSION=latest WP_MULTISITE=0
|
|
- php: 7.0
|
|
env: WP_VERSION=latest WP_MULTISITE=0
|
|
- php: 7.1
|
|
env: WP_VERSION=latest WP_MULTISITE=0
|
|
- php: 7.2
|
|
env: WP_VERSION=latest WP_MULTISITE=0 USE_COMPOSER=1
|
|
- stage: deploy
|
|
deploy:
|
|
cleanup: false
|
|
provider: script
|
|
script: make
|
|
if: branch = master AND type = push AND fork = false |