Skip to content
This repository was archived by the owner on Dec 27, 2023. It is now read-only.

Commit 21355a5

Browse files
committed
TravisCI build fix
1 parent 1c0da58 commit 21355a5

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.travis.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ php:
77
- hhvm
88

99
install:
10-
- composer install
11-
- composer update
10+
- mkdir -p build/bin
11+
- mkdir -p build/logs
12+
- curl -sS https://getcomposer.org/installer | php -- --install-dir=./build/bin
13+
- php ./build/bin/composer.phar install
1214

1315
script:
14-
- mkdir -p build/logs
1516
- ./vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml tests/
1617

1718
after_script:
1819
- ./vendor/bin/coveralls -v
19-
- wget --output-document=build/ocular.phar https://scrutinizer-ci.com/ocular.phar
20-
- php build/ocular.phar code-coverage:upload --format=php-clover ./build/logs/clover.xml
20+
- wget --output-document=build/bin/ocular.phar https://scrutinizer-ci.com/ocular.phar
21+
- php ./build/bin/ocular.phar code-coverage:upload --format=php-clover ./build/logs/clover.xml

0 commit comments

Comments
 (0)