diff --git a/.travis.yml b/.travis.yml index bbec073b4..2caaac4ad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,12 +5,17 @@ services: script: - cp docker-compose.yml.dist docker-compose.yml + - sed -i "s/REPLACE_WITH_YOUR_EMAIL/jeyser-crm.travis@example.com/g" docker-compose.yml - docker-compose build + # check prod env is working - docker-compose up -d -# - docker-compose run --rm web composer install -o -n - - sleep 10 && docker-compose run --rm web php bin/console cache:clear -e=test --no-warmup + - sleep 10 && docker-compose run --rm web php bin/console cache:clear -e=prod --no-warmup - docker-compose run --rm web php bin/console doctrine:schema:create - docker-compose run --rm web php bin/console doctrine:fixtures:load -n - docker-compose run --rm web php bin/console doctrine:schema:validate --ansi -# - docker-compose run --rm web vendor/bin/behat ./features/ -f pretty + # Run tests on test env + - sleep 10 && docker-compose run --rm web php bin/console cache:clear -e=test --no-warmup + - docker-compose run --rm web vendor/bin/behat ./features/ - docker-compose stop + +