You are here

ci.sh in Realistic Dummy Content 3.x

#!/bin/bash
#
# Run tests, meant to be run on CirlceCI.
#
set -e

echo '=> Run fast tests.'
./scripts/test.sh

echo '=> Deploy a Drupal 8 environment.'
./scripts/deploy.sh

echo '=> Drupal PHPUnit tests on required Drupal 8 environment.'
./scripts/php-unit-drupal.sh

echo '=> Tests on Drupal 8 environment using drush 8 and drush 10.'
./scripts/test-running-environment.sh
./scripts/test-running-environment-drush.sh drupal
./scripts/test-running-environment-drush.sh drupal8drush8
./scripts/test-running-environment-delete.sh

echo '=> Destroy the Drupal 8 environment.'
./scripts/destroy.sh

echo '=> Deploy a Drupal 9 environment.'
./scripts/deploy.sh 9

echo '=> Drupal PHPUnit tests on required Drupal 9 environment.'
./scripts/php-unit-drupal.sh

echo '=> Tests on Drupal 9'
./scripts/test-running-environment.sh
./scripts/test-running-environment-drush.sh drupal
./scripts/test-running-environment-delete.sh

echo '=> Destroy the Drupal 9 environment.'
./scripts/destroy.sh

File

scripts/ci.sh
View source
  1. #!/bin/bash
  2. #
  3. # Run tests, meant to be run on CirlceCI.
  4. #
  5. set -e
  6. echo '=> Run fast tests.'
  7. ./scripts/test.sh
  8. echo '=> Deploy a Drupal 8 environment.'
  9. ./scripts/deploy.sh
  10. echo '=> Drupal PHPUnit tests on required Drupal 8 environment.'
  11. ./scripts/php-unit-drupal.sh
  12. echo '=> Tests on Drupal 8 environment using drush 8 and drush 10.'
  13. ./scripts/test-running-environment.sh
  14. ./scripts/test-running-environment-drush.sh drupal
  15. ./scripts/test-running-environment-drush.sh drupal8drush8
  16. ./scripts/test-running-environment-delete.sh
  17. echo '=> Destroy the Drupal 8 environment.'
  18. ./scripts/destroy.sh
  19. echo '=> Deploy a Drupal 9 environment.'
  20. ./scripts/deploy.sh 9
  21. echo '=> Drupal PHPUnit tests on required Drupal 9 environment.'
  22. ./scripts/php-unit-drupal.sh
  23. echo '=> Tests on Drupal 9'
  24. ./scripts/test-running-environment.sh
  25. ./scripts/test-running-environment-drush.sh drupal
  26. ./scripts/test-running-environment-delete.sh
  27. echo '=> Destroy the Drupal 9 environment.'
  28. ./scripts/destroy.sh