From b4fdfb5d33346da0e6fb85a6f5ff080d11ecade7 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sun, 17 Jul 2016 10:22:28 +0100 Subject: [PATCH] SS module rating compliance --- .travis.yml | 41 +++++++++++++++++++++++++++++++++++++++++ CHANGELOG.md | 15 +++++++++++++++ CONTRIBUTING.md | 12 ++++++++++++ docs/.gitkeep | 0 tests/.gitkeep | 0 5 files changed, 68 insertions(+) create mode 100644 .travis.yml create mode 100644 CHANGELOG.md create mode 100644 CONTRIBUTING.md create mode 100644 docs/.gitkeep create mode 100644 tests/.gitkeep diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..33cfa0d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,41 @@ +# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details + +sudo: false + +language: php + +php: + - 5.4 + - 5.5 + - 5.6 + - 7.0 + +env: + - DB=MYSQL CORE_RELEASE=3.1 + +matrix: + include: + - php: 5.6 + env: DB=MYSQL CORE_RELEASE=3 + - php: 5.6 + env: DB=MYSQL CORE_RELEASE=3.1 + - php: 5.6 + env: DB=PGSQL CORE_RELEASE=3.2 + - php: 5.6 + env: DB=PGSQL CORE_RELEASE=3.3 + - php: 5.6 + env: DB=PGSQL CORE_RELEASE=3.4 + allow_failures: + - php: 7.0 + +before_script: + - composer self-update || true + - composer clear-cache + - composer validate + - git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support + - php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss + - cd ~/builds/ss + - composer install + +script: + - ./vendor/bin/phpunit ./maintenance-mode/tests diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..e0aa2ae --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,15 @@ +# Change Log + +## [v1.0.3](https://github.com/4t4r1/silverstripe-maintenance-mode/tree/v1.0.3) (2015-10-17) +[Full Changelog](https://github.com/4t4r1/silverstripe-maintenance-mode/compare/v1.0.2...v1.0.3) + +## [v1.0.2](https://github.com/4t4r1/silverstripe-maintenance-mode/tree/v1.0.2) (2015-10-16) +[Full Changelog](https://github.com/4t4r1/silverstripe-maintenance-mode/compare/v1.0.1...v1.0.2) + +## [v1.0.1](https://github.com/4t4r1/silverstripe-maintenance-mode/tree/v1.0.1) (2015-10-15) +[Full Changelog](https://github.com/4t4r1/silverstripe-maintenance-mode/compare/v1.0.0...v1.0.1) + +## [v1.0.0](https://github.com/4t4r1/silverstripe-maintenance-mode/tree/v1.0.0) (2015-10-15) + + +\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..a407b5b --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,12 @@ +# Contributing + +Any open source product is only as good as the community behind it. You can participate by sharing code, ideas, or simply discussing issues. No matter what your skill level is, every contribution counts. + +See our [high level overview](http://silverstripe.org/contributing-to-silverstripe) on silverstripe.org on how you can help out. + +## Contributing code + +In a nutshell: +- PSR2 complaint +- PHPDoc any additional vars, functions or amendments +- Write tests for any additional functionality diff --git a/docs/.gitkeep b/docs/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/tests/.gitkeep b/tests/.gitkeep new file mode 100644 index 0000000..e69de29