Skip to content

Commit

Permalink
Merge pull request #15 from clearbooks/refactor-stateless-toggle-checker
Browse files Browse the repository at this point in the history
CIS-167 Refactor stateless toggle checker
  • Loading branch information
luos committed Jun 8, 2016
2 parents 3828e72 + fc4e537 commit 98c84eb
Show file tree
Hide file tree
Showing 18 changed files with 1,768 additions and 580 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ php:
- hhvm

install: composer install --dev
script: vendor/phpunit/phpunit/phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml
script:
- vendor/bin/phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml
- vendor/bin/behat
after_success:
- CODECLIMATE_REPO_TOKEN=4cd6b7b0fec770fb70f66fa386eacf0cc0399acf2d9e44088a0ac5174d2442e1 ./vendor/bin/test-reporter
- if [ "$TRAVIS_PHP_VERSION" != "nightly" ] && [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
Expand Down
8 changes: 8 additions & 0 deletions behat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# behat.yml
default:
autoload: [ %paths.base%/contexts ]
suites:
default:
paths: [ %paths.base%/features ]
contexts:
- LabsTogglesContext
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"require-dev": {
"phpunit/phpunit":"4.7.*",
"codeclimate/php-test-reporter": "dev-master"
"codeclimate/php-test-reporter": "dev-master",
"behat/behat": "^3.1"
}
}
Loading

0 comments on commit 98c84eb

Please sign in to comment.