You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.travis.yml 1.7 KiB

5 years ago
5 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. language: php
  2. sudo: true
  3. dist: xenial
  4. cache:
  5. directories:
  6. - $HOME/.cache/pip
  7. - $HOME/.composer/cache
  8. php:
  9. - 7.0
  10. - 7.1
  11. - 7.2
  12. - 7.3
  13. - 7.4
  14. - nightly
  15. matrix:
  16. fast_finish: true
  17. allow_failures:
  18. - php: nightly
  19. before_install:
  20. - sudo apt-get install python3
  21. - wget https://bootstrap.pypa.io/get-pip.py
  22. - sudo python3 get-pip.py
  23. install:
  24. - composer install --ansi --prefer-dist --no-interaction --optimize-autoloader --no-suggest --no-progress
  25. - pip3 install --user cchardet xld_logchecker eac_logchecker
  26. script:
  27. - composer run lint
  28. - composer run static-analysis
  29. - composer run test
  30. - bin/logchecker --version
  31. - bin/logchecker list
  32. - bin/logchecker analyze tests/logs/wgdbcm.log
  33. - bin/logchecker analyze tests/logs/xld_perfect.log
  34. before_deploy:
  35. - rm -rf vendor
  36. - composer install --no-dev
  37. - php -d phar.readonly=0 bin/compile
  38. deploy:
  39. provider: releases
  40. api_key:
  41. secure: jlvbD7nzOz/8vssSI75loBMJE9OosAofTu1IDMc3bfxfRaPT6c2duebJF7Bm0VCTGYWK3Wc+19wwyLpCMoueUUEtKqi6RGIUQyboQvbSEe/cje7/9PgqmFstV8LdBLNOwRVj01YcmGw/iMVc+GxPTtDZtcwVU9bzlMCwXFAlggeId0Qw6KgxN+wTbm+oS3zrIh+TnWhgeWhmMYn0/UAEUEQCsYDI+UJjGWStWdpdJqdMhidg5GQyVtomFg82ZjIw+ywYGMGgq38S4PMRBLoqbxuWs++9LPblWboxtktb4+U0xUMdHfrv/r94b8+nI2SJ1xzzUKTXS/glkk0lJAovSYew6jJiu+gsejiNyR89WNgRGwnWAUA8ZBptrM2b3sxLuZ6RuxQXP3TMpxhQQE/3aodOrACPOHa8uuct0JAj/a2p0WCIj4r76McHrXTjFzDPsbdxD1GwOQmFJGqY5EV7Vez6q++Erp/64JEZJk9/jieTv0arLe76VZPQcZ6TB488tH699MvK7Gg1cc4114FbKIEZrOKF2FOrMAZJ3husjELN0zJYeRPZUy6Y7A2PAWsqfdswlxjP9IxuDFVE/3TW8O1sVItWo4+SSkKTILzsC0qgxVL2lW9WDmyka8U5T2SAa8ye/RRZ3FJYugep49wjUsfLraRdA+Lj7KQXSaMlFa8=
  42. file: logchecker.phar
  43. skip_cleanup: true
  44. on:
  45. tags: true
  46. repo: OPSnet/Logchecker
  47. php: '7.2'