.travis.yml 689 B

123456789101112131415161718192021222324252627
  1. language: php
  2. env:
  3. CODECEPTION_VERSION: '3.0.x-dev'
  4. php:
  5. - 7.1
  6. - 7.2
  7. - 7.3
  8. before_script:
  9. - wget https://robo.li/robo.phar
  10. - php robo.phar prepare
  11. - composer update
  12. script:
  13. - php robo.phar test cli
  14. - php robo.phar test "unit -g core"
  15. - php robo.phar test "tests/unit/Codeception/Constraints/"
  16. - php robo.phar test "tests/unit/Codeception/Module/AssertsTest.php"
  17. # run tests with 2.5 branch
  18. - CODECEPTION_VERSION=2.5.x-dev php robo.phar prepare
  19. - composer update
  20. - php robo.phar test cli
  21. - php robo.phar test "unit -g core"
  22. - php robo.phar test "tests/unit/Codeception/Constraints/"
  23. - php robo.phar test "tests/unit/Codeception/Module/AssertsTest.php"