File tree 4 files changed +42
-0
lines changed
4 files changed +42
-0
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,9 @@ composer.phar
4
4
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
5
5
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
6
6
# composer.lock
7
+
8
+
9
+ # In /build/ directory store all artefacts of infection etc.
10
+ /build /
11
+ # Ignore local infection overrides.
12
+ infection.json
Original file line number Diff line number Diff line change @@ -11,6 +11,12 @@ cache:
11
11
install :
12
12
- composer install --no-interaction --prefer-source
13
13
14
+ before_script :
15
+ - wget https://github.com/infection/infection/releases/download/0.8.0/infection.phar
16
+ - wget https://github.com/infection/infection/releases/download/0.8.0/infection.phar.pubkey
17
+ - chmod +x infection.phar
18
+
14
19
script :
15
20
- composer validate --strict
16
21
- vendor/bin/phpunit
22
+ - ./infection.phar --min-msi=48 --threads=4
Original file line number Diff line number Diff line change @@ -7,3 +7,22 @@ CI with PHP and TravisCI
7
7
8
8
composer install
9
9
./vendor/bin/phpunit
10
+
11
+
12
+ ## Test
13
+
14
+ ### Infection
15
+
16
+ * https://infection.github.io
17
+
18
+ Install:
19
+
20
+ composer global require infection/infection
21
+
22
+ or
23
+
24
+ brew install infection
25
+
26
+ Run:
27
+
28
+ infection
Original file line number Diff line number Diff line change
1
+ {
2
+ "timeout": 10,
3
+ "source": {
4
+ "directories": [
5
+ "src"
6
+ ]
7
+ },
8
+ "logs": {
9
+ "text": "build/infection-log.txt"
10
+ }
11
+ }
You can’t perform that action at this time.
0 commit comments