From 0f7ebb2e02f1a1ec9b537ee8939710cc3ccbf694 Mon Sep 17 00:00:00 2001 From: Julio Date: Thu, 26 Dec 2019 14:25:27 +0100 Subject: [PATCH] Fix travis when using env = test --- .travis.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 26ce5f4190..0ce8de7a26 100755 --- a/.travis.yml +++ b/.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