Skip to content

Commit

Permalink
try to stabalize the travis builds
Browse files Browse the repository at this point in the history
By utilizing the new container infrastructure (http://docs.travis-ci.com/user/workers/container-based-infrastructure/)

and not doing more than needed ... (still 5.4 which is slated to be removed)
  • Loading branch information
fruitl00p committed Jul 20, 2015
1 parent fe61607 commit 940f922
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
language: php

sudo: false

cache:
directories:
- $HOME/.composer/cache

php:
- 5.4
- 5.5
Expand All @@ -12,20 +18,9 @@ matrix:
- php: 7
fast_finish: true

cache:
directories:
- vendor
- $HOME/.composer/cache

install:
- mkdir -p /home/travis/.phpenv/versions/$(phpenv version-name)/etc/conf.d
- phpenv config-add test/phpconfig.ini
- travis_retry composer self-update && composer --version
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- travis_retry composer install --prefer-dist --no-interaction

script: vendor/bin/phpunit --coverage-clover coverage.clover
- composer install

after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
script: vendor/bin/phpunit

0 comments on commit 940f922

Please sign in to comment.