Fix travis when using env = test

pull/3064/head
Julio 5 years ago
parent d1b96dc719
commit 0f7ebb2e02
  1. 9
      .travis.yml

@ -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

Loading…
Cancel
Save