|
|
|
@ -89,11 +89,14 @@ script: |
|
|
|
|
- cd tests/behat |
|
|
|
|
# - travis_wait 45 ../../vendor/behat/behat/bin/behat -v |
|
|
|
|
- ../../vendor/behat/behat/bin/behat features/actionInstall.feature -v |
|
|
|
|
- cd .. |
|
|
|
|
- cd .. |
|
|
|
|
# Set to APP_ENV to test |
|
|
|
|
- sed -i "s/APP_ENV='dev'/APP_ENV='test'/g" .env.local |
|
|
|
|
- ../../vendor/behat/behat/bin/behat features/adminFillUsers.feature -v |
|
|
|
|
# - ../../vendor/behat/behat/bin/behat -v features/course.feature |
|
|
|
|
# - ../../vendor/behat/behat/bin/behat -v features/createUser.feature |
|
|
|
|
- cd tests/behat |
|
|
|
|
- ../../vendor/behat/behat/bin/behat features/adminFillUsers.feature -v |
|
|
|
|
# - ../../vendor/behat/behat/bin/behat -v features/course.feature |
|
|
|
|
# - ../../vendor/behat/behat/bin/behat -v features/createUser.feature |
|
|
|
|
|
|
|
|
|
after_failure: |
|
|
|
|
- sudo cat /var/log/apache2/error.log |
|
|
|
|