.travis.yml 850 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. language: php
  2. compiler:
  3. - gcc
  4. - clang
  5. os:
  6. - linux
  7. matrix:
  8. include:
  9. - php: 7.0
  10. env: USE_VALGRIND=1
  11. - php: 7.1
  12. env: USE_VALGRIND=1
  13. - php: 7.2
  14. env: USE_VALGRIND=1
  15. - php: 7.3
  16. - php: 7.4snapshot
  17. - php: nightly
  18. addons:
  19. apt:
  20. packages: valgrind
  21. notifications:
  22. email: [email protected]
  23. before_script:
  24. - git submodule update --init
  25. - sudo apt-get install zlib1g-dev -y
  26. - phpize && ./configure --enable-reader && make clean && make
  27. branches:
  28. only:
  29. - master
  30. - dev
  31. script:
  32. - ./travis/run-test.sh
  33. - make clean && phpize --clean
  34. - phpize && ./configure --enable-reader && make clean && make
  35. - if [ -n "$USE_VALGRIND" ]; then REPORT_EXIT_STATUS=1 php -n run-tests.php -m -n -d extension_dir=./modules/ -d extension=xlswriter.so -P --show-diff --set-timeout 120; fi