Move userforms requirement to travis setup call

This commit is contained in:
Robbie Averill 2017-06-15 13:24:36 +12:00
parent 5aa1ca9afb
commit 2af878f6fa

View File

@ -26,10 +26,8 @@ matrix:
before_script: before_script:
- composer self-update || true - composer self-update || true
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support - git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss - php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require silverstripe/userforms
- cd ~/builds/ss - cd ~/builds/ss
- composer install
- composer require silverstripe/userforms
script: script:
- vendor/bin/phpunit spamprotection/tests - vendor/bin/phpunit spamprotection/tests