.travis.yml 852 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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.4
  17. - php: nightly
  18. addons:
  19. apt:
  20. packages: valgrind
  21. notifications:
  22. email: [email protected]
  23. before_script:
  24. - php -m
  25. - git submodule update --init
  26. - sudo apt-get install zlib1g-dev -y
  27. - phpize && ./configure --enable-reader && make clean && make
  28. branches:
  29. only:
  30. - master
  31. - dev
  32. script:
  33. - ./travis/run-test.sh
  34. - make clean && phpize --clean
  35. - phpize && ./configure --enable-reader && make clean && make
  36. - 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-all --set-timeout 120; fi