Web Interfaces of PROSUME

.travis.yml 994B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. language: php
  2. sudo: false
  3. cache:
  4. directories:
  5. - vendor
  6. - $HOME/.composer/cache/files
  7. php:
  8. - 5.4
  9. - 5.5
  10. - 5.6
  11. - 7.0
  12. - 7.1
  13. - 7.2
  14. - 7.3
  15. - nightly
  16. env:
  17. - TWIG_EXT=no
  18. before_install:
  19. # turn off XDebug
  20. - phpenv config-rm xdebug.ini || return 0
  21. install:
  22. - travis_retry composer install
  23. before_script:
  24. - if [ "$TWIG_EXT" == "yes" ]; then sh -c "cd ext/twig && phpize && ./configure --enable-twig && make && make install"; fi
  25. - if [ "$TWIG_EXT" == "yes" ]; then echo "extension=twig.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`; fi
  26. script: ./vendor/bin/simple-phpunit
  27. matrix:
  28. fast_finish: true
  29. include:
  30. - php: 5.3
  31. dist: precise
  32. env: TWIG_EXT=yes
  33. - php: 5.3
  34. dist: precise
  35. env: TWIG_EXT=no
  36. - php: 5.4
  37. env: TWIG_EXT=yes
  38. - php: 5.5
  39. env: TWIG_EXT=yes
  40. - php: 5.6
  41. env: TWIG_EXT=yes