From 65d9119c887541e8165a466a71e2e17d6f8b0c8d Mon Sep 17 00:00:00 2001 From: Justin Yost Date: Sat, 25 Mar 2017 15:27:43 -0700 Subject: [PATCH 1/2] Add Travis Build File Test and Verify Install Occurs Correctly for various PHP versions Signed-off-by: Justin Yost --- .travis.yml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .travis.yml 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 From 73cdad0eb678cf6bfa93c5bebaf9802e1641fc5d Mon Sep 17 00:00:00 2001 From: Justin Yost Date: Sat, 25 Mar 2017 15:40:52 -0700 Subject: [PATCH 2/2] Adds EditorConfig File Adds EditorConfig File to ensure files are formated correctly Signed-off-by: Justin Yost --- .editorconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .editorconfig 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