Skip to content

Commit bccdf50

Browse files
committed
Updating build to modern Travis CI specs; build on PHP 7+
1 parent 84a4b7c commit bccdf50

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.travis.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,25 @@ php:
44
- 5.4
55
- 5.5
66
- 5.6
7+
- 7.0
8+
- 7.1
79
- hhvm
810

11+
sudo: false
12+
13+
before_install:
14+
- travis_retry composer self-update
15+
16+
install:
17+
- travis_retry composer install --no-interaction --prefer-dist
18+
919
before_script:
10-
- composer self-update
11-
- composer install --no-interaction --prefer-source --dev
20+
- mkdir -p build/logs
1221

1322
script:
14-
- ./vendor/bin/parallel-lint --exclude vendor . bin/shootproof-cli
15-
- ./vendor/bin/phpunit --coverage-text --coverage-clover ./build/logs/clover.xml
23+
- ./vendor/bin/parallel-lint src tests bin bin/shootproof-cli
24+
- ./vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml
1625
- ./vendor/bin/phpcs src bin bin/shootproof-cli --standard=psr2 -sp
1726

18-
after_script: php vendor/bin/coveralls
27+
after_script:
28+
- php vendor/bin/coveralls

0 commit comments

Comments
 (0)