forked from php-mime-mail-parser/php-mime-mail-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
33 lines (26 loc) · 668 Bytes
/
.travis.yml
File metadata and controls
33 lines (26 loc) · 668 Bytes
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
31
32
33
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: 7.0
fast_finish: true
sudo: false
env:
- COMPOSER_OPTS=""
- COMPOSER_OPTS="--prefer-lowest"
before_script:
- sh -c 'if [ $(php -r "echo (int) defined(\"HHVM_VERSION\");") -eq 0 ]; then pecl install mailparse; fi'
- composer self-update
- composer update $COMPOSER_OPTS
script:
- mkdir -p build/logs
- ./vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
- ./vendor/bin/phpcs src --standard=psr2
- ./vendor/bin/phpcs tests --standard=psr2
after_script:
- ./vendor/bin/coveralls -v