diff --git a/circle.yml b/circle.yml index edd8f46..f2a7d7a 100644 --- a/circle.yml +++ b/circle.yml @@ -27,17 +27,18 @@ dependencies: override: - composer global require "hirak/prestissimo:^0.3" - composer global require "consolidation/cgr" - # - cgr "pantheon-systems/terminus:^0.13.3" - - cgr "pantheon-systems/terminus:0.12.0" + - cgr "pantheon-systems/terminus:~0.13" - cgr "drush/drush:~8" - composer install + - mkdir -p ~/terminus/plugins; cd ~/terminus/plugins && git clone git@github.com:greg-1-anderson/terminus-composer.git post: - terminus auth login --machine-token=$TERMINUS_TOKEN - ./scripts/delete-old-multidevs -test: - override: - terminus site create-env --to-env=$TERMINUS_ENV --from-env=dev - terminus site set-connection-mode --mode=sftp +test: + override: + - terminus composer 'exec --working-dir=core "../vendor/bin/phpunit --testsuite=unit --exclude-group Composer,DependencyInjection,PageCache"' # Note that the behat-drush-endpoint has already been added to the dev environment of the test site. - ./scripts/run-behat # Note that if we do not delete our multidev environment here, then the