diff --git a/.travis.yml b/.travis.yml index a20c8e8..dcfef66 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ before_script: - composer install --prefer-dist --dev --no-interaction before_install: - cp config.production.php config.php +- cp composer.production.json composer.json before_deploy: - openssl aes-256-cbc -K $encrypted_e44c58426490_key -iv $encrypted_e44c58426490_iv -in XRay-67d8fdd0bba3.json.enc -out XRay-67d8fdd0bba3.json -d diff --git a/composer.production.json b/composer.production.json new file mode 100644 index 0000000..b8f8fdf --- /dev/null +++ b/composer.production.json @@ -0,0 +1,43 @@ +{ + "name": "p3k/xray", + "type": "library", + "license": "MIT", + "homepage": "https://github.com/aaronpk/XRay", + "description": "X-Ray returns structured data from any URL", + "require": { + "league/plates": "3.*", + "league/route": "1.*", + "mf2/mf2": "^0.4", + "ezyang/htmlpurifier": "4.10.*", + "indieweb/link-rel-parser": "0.1.*", + "dg/twitter-php": "3.6.*", + "p3k/timezone": "*", + "p3k/http": ">=0.1.8", + "cebe/markdown": "1.1.*", + "p3k/picofeed": ">=0.1.38", + "facebook/graph-sdk": "^5.5", + "masterminds/html5": "^2.3" + }, + "autoload": { + "psr-4": { + "p3k\\XRay\\": "lib/XRay" + }, + "files": [ + "lib/helpers.php", + "lib/XRay.php" + ] + }, + "require-dev": { + "phpunit/phpunit": "4.8.*" + }, + "autoload-dev": { + "files": [ + "controllers/Main.php", + "controllers/Parse.php", + "controllers/Token.php", + "controllers/Rels.php", + "controllers/Feeds.php", + "controllers/Certbot.php" + ] + } +} diff --git a/php.ini b/php.ini index 87ab8bc..4efd16c 100644 --- a/php.ini +++ b/php.ini @@ -1,3 +1,2 @@ -extension = "curl.so" google_app_engine.enable_functions = "php_sapi_name, libxml_disable_entity_loader" -open_basedir = none \ No newline at end of file +open_basedir = none