forked from 10up/distributor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockunit.json
30 lines (30 loc) · 1022 Bytes
/
Dockunit.json
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
{
"containers": [
{
"prettyName": "PHP 5.6",
"image": "php:5.6",
"beforeScripts": [
"php -r \"copy('https://getcomposer.org/installer', 'composer-setup.php');\"",
"php composer-setup.php --install-dir=/usr/local/bin --filename=composer",
"php -r \"copy('https://phar.phpunit.de/phpunit.phar', 'phpunit.phar');\"",
"chmod +x phpunit.phar",
"mv phpunit.phar /usr/local/bin/phpunit",
"composer install"
],
"testCommand": "phpunit"
},
{
"prettyName": "PHP 7.0",
"image": "php:7.0",
"beforeScripts": [
"php -r \"copy('https://getcomposer.org/installer', 'composer-setup.php');\"",
"php composer-setup.php --install-dir=/usr/local/bin --filename=composer",
"php -r \"copy('https://phar.phpunit.de/phpunit.phar', 'phpunit.phar');\"",
"chmod +x phpunit.phar",
"mv phpunit.phar /usr/local/bin/phpunit",
"composer install"
],
"testCommand": "phpunit"
}
]
}