diff --git a/.travis.yml b/.travis.yml index f6114c0..3332e60 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,24 @@ language: php php: - - 5.3 - - 5.4 - - 5.5 + - 5.4 + - 5.5 + - 5.6 + +env: + - COMPOSER_OPTIONS='install --prefer-source' + +matrix: + include: + - php: 5.4 + env: COMPOSER_OPTIONS='update --prefer-lowest --prefer-source' + +before_install: + - composer self-update before_script: - - curl -s http://getcomposer.org/installer | php - - php composer.phar update + - COMPOSER_ROOT_VERSION=dev-master composer $COMPOSER_OPTIONS script: - - bin/phpspec r -v - - bin/behat -v + - ./bin/phpspec run --format=dot + - ./bin/behat \ No newline at end of file diff --git a/behat.yml b/behat.yml index 60e6213..5f552eb 100644 --- a/behat.yml +++ b/behat.yml @@ -2,5 +2,4 @@ default: suites: default: contexts: - - FeatureContext - PHPSpecContext \ No newline at end of file diff --git a/composer.json b/composer.json index 6fbb622..0b5f132 100644 --- a/composer.json +++ b/composer.json @@ -14,14 +14,15 @@ } ], "require": { - "php": ">=5.3.0", - "phpspec/phpspec": "2.0.*" + "php": ">=5.4.0", + "phpspec/phpspec": "^2" }, "require-dev": { - "behat/behat": "3.0.*@stable", + "behat/behat": "3.0.15", "symfony/filesystem": "~2.3", + "symfony/console": "~2.3.2", "guzzle/http": "~3.0", - "bossa/phpspec2-expect": "dev-master" + "bossa/phpspec2-expect": "^1" }, "autoload": { "psr-0": { "Coduo\\PhpSpec": "src/"} diff --git a/features/bootstrap/FeatureContext.php b/features/bootstrap/FeatureContext.php deleted file mode 100644 index 29f6e8b..0000000 --- a/features/bootstrap/FeatureContext.php +++ /dev/null @@ -1,19 +0,0 @@ -