Skip to content

Commit f89235c

Browse files
authored
Added "composer test" script (#699)
1 parent ea798c2 commit f89235c

40 files changed

+80
-21
lines changed

src/Common/.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@ install:
77
- composer update --prefer-stable --prefer-dist
88

99
script:
10-
- ./vendor/bin/phpunit
11-
10+
- composer test

src/Provider/ArcGISOnline/.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ install:
88
- composer update --prefer-stable --prefer-dist
99

1010
script:
11-
- ./vendor/bin/phpunit
11+
- composer test
1212

src/Provider/ArcGISOnline/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
"/Tests/"
3333
]
3434
},
35+
"scripts": {
36+
"test": "vendor/bin/phpunit"
37+
},
3538
"minimum-stability": "dev",
3639
"extra": {
3740
"branch-alias": {

src/Provider/BingMaps/.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ install:
88
- composer update --prefer-stable --prefer-dist
99

1010
script:
11-
- ./vendor/bin/phpunit
11+
- composer test
1212

src/Provider/BingMaps/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
"/Tests/"
3333
]
3434
},
35+
"scripts": {
36+
"test": "vendor/bin/phpunit"
37+
},
3538
"minimum-stability": "dev",
3639
"extra": {
3740
"branch-alias": {

src/Provider/Chain/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
"/Tests/"
2929
]
3030
},
31+
"scripts": {
32+
"test": "vendor/bin/phpunit"
33+
},
3134
"minimum-stability": "dev",
3235
"extra": {
3336
"branch-alias": {

src/Provider/FreeGeoIp/.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ install:
88
- composer update --prefer-stable --prefer-dist
99

1010
script:
11-
- ./vendor/bin/phpunit
11+
- composer test
1212

src/Provider/FreeGeoIp/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
"/Tests/"
3333
]
3434
},
35+
"scripts": {
36+
"test": "vendor/bin/phpunit"
37+
},
3538
"minimum-stability": "dev",
3639
"extra": {
3740
"branch-alias": {

src/Provider/GeoIP2/.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ install:
88
- composer update --prefer-stable --prefer-dist
99

1010
script:
11-
- ./vendor/bin/phpunit
11+
- composer test
1212

src/Provider/GeoIP2/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
"/Tests/"
3030
]
3131
},
32+
"scripts": {
33+
"test": "vendor/bin/phpunit"
34+
},
3235
"minimum-stability": "dev",
3336
"extra": {
3437
"branch-alias": {

0 commit comments

Comments
 (0)