Skip to content

Commit

Permalink
Update Travis config and .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
shira-374 committed Aug 5, 2018
1 parent ad844e7 commit ed015e0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/vendor
/composer.lock
/phpunit.xml
/.phpunit.result.cache
29 changes: 21 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
language: php

php:
- '7.1'
- '7.2'
- nightly
matrix:
include:
- name: 7.1 (tests)
php: '7.1'
env:
- INSTALL_COMMAND="composer install"

env:
- COMPOSER_COMMAND="composer install"
- COMPOSER_COMMAND="composer update --prefer-lowest --prefer-stable"
- name: 7.2 (tests)
php: '7.2'
env:
- INSTALL_COMMAND="composer install"

install: ${COMPOSER_COMMAND}
- name: 7.2 (tests, lowest deps)
php: '7.2'
env:
- INSTALL_COMMAND="composer update --prefer-lowest --prefer-stable"

- name: nightly (tests)
php: nightly
env:
- INSTALL_COMMAND="composer install"

install: ${INSTALL_COMMAND}

script: ./vendor/bin/phpunit --colors

0 comments on commit ed015e0

Please sign in to comment.