diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..e8c541a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +; This file is for unifying the coding style for different editors and IDEs. +; More information at http://editorconfig.org + +; This file is to be considered the "top most" for this project. +root = true + +; Unix style newlines and a final newline for all files. +[*] +indent_style = tab +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +; Matches the exact files package.json and .travis.yml +[{package.json,.travis.yml,composer.json,*.yaml,*.yml}] +indent_style = space +indent_size = 2 diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..01efcb7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,41 @@ +language: php + +sudo: false + +php: + - 5.6 + - 7.0 + - 7.1 + +# Environment Variables to set +env: + global: + + +# Cache the composer directories, only allowed if using the container based setup +# which depends on setting sudo to false +cache: + directories: + - $HOME/.composer/cache + +# Branches to be built or not +branches: + # Blacklist these branches + except: + - gh-pages + +before_install: + - composer self-update + +install: + - composer install --no-interaction + +before_script: + +script: + - bin/phpunit --version + +after_script: + +notifications: + email: false