-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
60 lines (57 loc) · 1.52 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
48
49
50
51
52
53
54
55
56
57
58
59
60
machine:
php:
version: 7.0.24
environment:
WP_TESTS_DIR: /tmp/wordpress-tests-lib
WP_CORE_DIR: /tmp/wordpress/
PATH: $HOME/.composer/vendor/bin:$PATH
general:
branches:
ignore:
- gh-pages
dependencies:
pre:
- sudo apt-get update; sudo apt-get install subversion
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- composer global require "phpunit/phpunit=5.7.*"
- gem install bundler --pre
- bundle install
test:
override:
- |
rm -rf $WP_TESTS_DIR $WP_CORE_DIR
php -v
phpunit --version
bash bin/install-wp-tests.sh wordpress_test ubuntu '' 127.0.0.1 4.6
phpunit
WP_MULTISITE=1 phpunit
- |
php -v
phpunit --version
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
php -v
phpunit --version
bash bin/install-wp-tests.sh wordpress_test ubuntu '' 127.0.0.1 trunk
phpunit
WP_MULTISITE=1 phpunit
- |
phpenv global 7.1.9
php -v
phpunit --version
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.9
php -v
phpunit --version
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