Skip to content

Commit

Permalink
minor update for travis ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hswong3i committed Jul 5, 2016
1 parent 724cb22 commit 60e3bbb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
File renamed without changes.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ dist: trusty
language: php

before_install:
- echo 'sendmail_path = /bin/true' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- composer self-update
- composer global require satooshi/php-coveralls:@stable
- composer global require --no-update hirak/prestissimo:@stable
- composer global require --no-update phpunit/phpunit:@stable
- composer global require --no-update satooshi/php-coveralls:@stable
- composer global update
- export PATH="$PATH:$HOME/.composer/vendor/bin"

install:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
},
"scripts": {
"coveralls": "coveralls -v; exit 0",
"php-cs-fixer": "php-cs-fixer fix --config-file .php-cs-fixer.php; exit 0",
"php-cs-fixer": "php-cs-fixer fix; exit 0",
"phpunit": "phpunit -c phpunit.xml.dist; exit 0",
"sami": "sami.php update .sami.php; exit 0"
},
Expand Down

0 comments on commit 60e3bbb

Please sign in to comment.