From 24c152a80823a5d11476e117420f1afd654fdd04 Mon Sep 17 00:00:00 2001 From: Eric Wheeler Date: Sun, 3 Jul 2016 09:08:55 -0700 Subject: [PATCH] Config --- .travis.yml | 36 ----------- README.rst | 62 ------------------- resume.json => data/resume.json | 0 resume.schema.json => data/resume.schema.json | 0 4 files changed, 98 deletions(-) delete mode 100644 .travis.yml delete mode 100644 README.rst rename resume.json => data/resume.json (100%) rename resume.schema.json => data/resume.schema.json (100%) diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 208a657..0000000 --- a/.travis.yml +++ /dev/null @@ -1,36 +0,0 @@ -language: php - -sudo: false - -env: - global: - - SYMFONY_DEPRECATIONS_HELPER=weak - -cache: - directories: - - $HOME/.composer/cache - -before_install: - - if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then phpenv config-rm xdebug.ini; fi - -before_script: - # symfony/* - - sh -c "if [ '$TWIG_VERSION' != '2.0' ]; then sed -i 's/~1.8|~2.0/~1.8/g' composer.json; composer update; fi" - - sh -c "if [ '$SYMFONY_DEPS_VERSION' = '3.0' ]; then sed -i 's/~2\.8|^3\.0/3.0.*@dev/g' composer.json; composer update; fi" - - sh -c "if [ '$SYMFONY_DEPS_VERSION' = '3.1' ]; then sed -i 's/~2\.8|^3\.0/3.1.*@dev/g' composer.json; composer update; fi" - - sh -c "if [ '$SYMFONY_DEPS_VERSION' = '' ]; then sed -i 's/~2\.8|^3\.0/2.8.*@dev/g' composer.json; composer update; fi" - - composer install - -script: phpunit - -matrix: - include: - - php: 5.5 - - php: 5.6 - env: TWIG_VERSION=2.0 - - php: 5.6 - env: SYMFONY_DEPS_VERSION=3.0 - - php: 5.6 - env: SYMFONY_DEPS_VERSION=3.1 - - php: 7.0 - - php: hhvm diff --git a/README.rst b/README.rst deleted file mode 100644 index 29c0999..0000000 --- a/README.rst +++ /dev/null @@ -1,62 +0,0 @@ -Silex, a simple Web Framework -============================= - -Silex is a PHP micro-framework to develop websites based on `Symfony -components`_:: - - get('/hello/{name}', function ($name) use ($app) { - return 'Hello '.$app->escape($name); - }); - - $app->run(); - -Silex works with PHP 5.5.9 or later. - -Installation ------------- - -The recommended way to install Silex is through `Composer`_: - -.. code-block:: bash - - composer require silex/silex "~2.0" - -Alternatively, you can download the `silex.zip`_ file and extract it. - -More Information ----------------- - -Read the `documentation`_ for more information and `changelog -`_ for upgrading information. - -Tests ------ - -To run the test suite, you need `Composer`_ and `PHPUnit`_: - -.. code-block:: bash - - $ composer install - $ phpunit - -Community ---------- - -Check out #silex-php on irc.freenode.net. - -License -------- - -Silex is licensed under the MIT license. - -.. _Symfony components: http://symfony.com -.. _Composer: http://getcomposer.org -.. _PHPUnit: https://phpunit.de -.. _silex.zip: http://silex.sensiolabs.org/download -.. _documentation: http://silex.sensiolabs.org/documentation diff --git a/resume.json b/data/resume.json similarity index 100% rename from resume.json rename to data/resume.json diff --git a/resume.schema.json b/data/resume.schema.json similarity index 100% rename from resume.schema.json rename to data/resume.schema.json