File tree 4 files changed +36
-6
lines changed
4 files changed +36
-6
lines changed Original file line number Diff line number Diff line change 1
1
/vendor
2
+ /composer.lock
Original file line number Diff line number Diff line change 1
1
language : php
2
- php :
3
- - 5.3
4
- - 5.6
5
- - hhvm
2
+
3
+ # lock distro so new future defaults will not break the build
4
+ dist : trusty
5
+
6
+ jobs :
7
+ include :
8
+ - php : 5.3
9
+ dist : precise
10
+ - php : 5.6
11
+ - php : hhvm-3.18
12
+ allow_failures :
13
+ - php : hhvm-3.18
14
+
6
15
install :
7
16
- composer install --prefer-source --no-interaction
17
+
8
18
script :
9
- - phpunit --coverage-text
19
+ - vendor/bin/ phpunit --coverage-text
Original file line number Diff line number Diff line change @@ -67,7 +67,8 @@ You probably don't want to use this if
67
67
68
68
## Install
69
69
70
- The recommended way to install this library is [ through composer] ( http://getcomposer.org ) . [ New to composer?] ( http://getcomposer.org/doc/00-intro.md )
70
+ The recommended way to install this library is [ through Composer] ( https://getcomposer.org/ ) .
71
+ [ New to Composer?] ( https://getcomposer.org/doc/00-intro.md )
71
72
72
73
``` JSON
73
74
{
@@ -77,6 +78,21 @@ The recommended way to install this library is [through composer](http://getcomp
77
78
}
78
79
```
79
80
81
+ ## Tests
82
+
83
+ To run the test suite, you first need to clone this repo and then install all
84
+ dependencies [ through Composer] ( https://getcomposer.org ) :
85
+
86
+ ``` bash
87
+ $ composer install
88
+ ```
89
+
90
+ To run the test suite, go to the project root and run:
91
+
92
+ ``` bash
93
+ $ php vendor/bin/phpunit
94
+ ```
95
+
80
96
## License
81
97
82
98
MIT
Original file line number Diff line number Diff line change 15
15
},
16
16
"require" : {
17
17
"php" : " >=5.3"
18
+ },
19
+ "require-dev" : {
20
+ "phpunit/phpunit" : " ^4.8.35"
18
21
}
19
22
}
You can’t perform that action at this time.
0 commit comments