export-command/.travis.yml
2017-04-23 12:19:53 +10:00

40 lines
585 B
YAML

sudo: false
language: php
notifications:
email:
on_success: never
on_failure: change
branches:
only:
- master
cache:
directories:
- vendor
- $HOME/.composer/cache
env:
global:
- WP_CLI_BIN_DIR=/tmp/wp-cli-phar
matrix:
include:
- php: 7.1
env: WP_VERSION=latest
- php: 7.0
env: WP_VERSION=latest
- php: 5.6
env: WP_VERSION=latest
- php: 5.6
env: WP_VERSION=trunk
- php: 5.4
env: WP_VERSION=latest
before_script:
- composer validate
- bash bin/install-package-tests.sh
script: ./bin/test.sh