mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 14:13:46 +09:00
Add travis-ci file
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
|
||||
sudo: false
|
||||
language: php
|
||||
|
||||
notifications:
|
||||
on_success: never
|
||||
on_failure: change
|
||||
|
||||
php:
|
||||
- nightly # PHP 7.0
|
||||
- 5.6
|
||||
- 5.5
|
||||
- 5.4
|
||||
|
||||
env:
|
||||
- WP_PROJECT_TYPE=plugin WP_VERSION=latest WP_MULTISITE=0 WP_TEST_URL=http://localhost:12000 WP_TEST_USER=test WP_TEST_USER_PASS=test
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- php: nightly
|
||||
|
||||
before_script:
|
||||
- git clone https://github.com/Seravo/wordpress-test-template wp-tests
|
||||
- bash wp-tests/bin/install-wp-tests.sh test root '' localhost $WP_VERSION
|
||||
|
||||
script:
|
||||
- cd wp-tests/spec && bundle exec rspec test.rb
|
||||
Reference in New Issue
Block a user