-
Notifications
You must be signed in to change notification settings - Fork 47
/
circle.yml
47 lines (45 loc) · 1.35 KB
/
circle.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
machine:
php:
version: 5.6.22
environment:
WP_TESTS_DIR: /tmp/wordpress-tests-lib
WP_CORE_DIR: /tmp/wordpress/
PATH: $HOME/.composer/vendor/bin:$PATH
dependencies:
pre:
- sudo apt-get update; sudo apt-get install subversion
test:
pre:
- composer global require "phpunit/phpunit=5.7.*"
- |
composer global require wp-coding-standards/wpcs
phpcs --config-set installed_paths $HOME/.composer/vendor/wp-coding-standards/wpcs
override:
- phpcs
- |
rm -rf $WP_TESTS_DIR $WP_CORE_DIR
bash bin/install-wp-tests.sh wordpress_test ubuntu '' 127.0.0.1 4.4
phpunit
WP_MULTISITE=1 phpunit
- |
rm -rf $WP_TESTS_DIR $WP_CORE_DIR
bash bin/install-wp-tests.sh wordpress_test ubuntu '' 127.0.0.1 latest
phpunit
WP_MULTISITE=1 phpunit
- |
rm -rf $WP_TESTS_DIR $WP_CORE_DIR
bash bin/install-wp-tests.sh wordpress_test ubuntu '' 127.0.0.1 trunk
phpunit
WP_MULTISITE=1 phpunit
- |
phpenv global 7.0.17
rm -rf $WP_TESTS_DIR $WP_CORE_DIR
bash bin/install-wp-tests.sh wordpress_test ubuntu '' 127.0.0.1 latest
phpunit
WP_MULTISITE=1 phpunit
- |
phpenv global 7.1.3
rm -rf $WP_TESTS_DIR $WP_CORE_DIR
bash bin/install-wp-tests.sh wordpress_test ubuntu '' 127.0.0.1 latest
phpunit
WP_MULTISITE=1 phpunit