Skip to content

Commit 6b089a7

Browse files
committed
updated travis and cleaned dist version
1 parent 2511bf1 commit 6b089a7

3 files changed

Lines changed: 12 additions & 7 deletions

File tree

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
* text=auto
2+
3+
# ignore for dist
4+
/Tests export-ignore
5+
/.travis.yml export-ignore
6+
/phpunit.xml.dist export-ignore

.travis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
language: php
22

3+
cache:
4+
directories:
5+
- $HOME/.composer/cache/files
6+
37
php:
48
- '7.1'
59
- '7.2'
610
- '7.3'
711
- '7.4'
812

913
install:
10-
- travis_retry composer install --no-interaction --prefer-source
14+
- travis_retry composer install --prefer-dist --no-interaction
1115

1216
script:
13-
- composer test -- --coverage-clover=coverage.xml
17+
- vendor/bin/phpunit --coverage-clover=coverage.xml
1418

1519
after_success:
1620
- bash <(curl -s https://codecov.io/bash)

composer.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,5 @@
3535
"psr-4": {
3636
"Czechphp\\ICOValidator\\Tests\\": "Tests/"
3737
}
38-
},
39-
"scripts": {
40-
"test": [
41-
"phpunit"
42-
]
4338
}
4439
}

0 commit comments

Comments
 (0)