Skip to content

Commit

Permalink
Merge pull request #6 from edelarose/feature/travis
Browse files Browse the repository at this point in the history
add travis
  • Loading branch information
kieranajp committed Oct 26, 2017
2 parents 8a99048 + a798255 commit 4097231
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
language: php

php:
- '7.0'
- '7.1'

env:
- COMPOSER_UPDATE=
- COMPOSER_UPDATE=--prefer-lowest

script:
- composer update $COMPOSER_UPDATE -n
- vendor/bin/phpunit --coverage-clover=coverage.xml

after_success:
- if [ "$TRAVIS_SECURE_ENV_VARS" == "true" ]; then bash <(curl -s https://codecov.io/bash); fi

0 comments on commit 4097231

Please sign in to comment.