diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..54a38ab --- /dev/null +++ b/.drone.yml @@ -0,0 +1,15 @@ +workspace: + base: /app + path: schwant +services: + web: + image: fpfis/php56-build +pipeline: + composer-install: + image: fpfis/php56-build + commands: + - composer install + check_http: + image: fpfis/php56-build + commands: + - curl http://web:8080/ diff --git a/composer.json b/composer.json index e7ac977..00e7dd8 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { "require": { - "symfony/yaml" : "*", + "symfony/yaml" : "*" } } diff --git a/index.php b/index.php index 03efc33..60912ca 100644 --- a/index.php +++ b/index.php @@ -7,7 +7,7 @@ $array = array( 'foo' => 'bar', - 'bar' => array('foo' => 'bar', 'bar' => 'baz' => 'test'), + 'bar' => array('foo' => 'bar', 'bar' => 'baz', 'test' => 'test') ); echo Yaml::dump($array);