1language: php 2 3sudo: false 4 5git: 6 depth: 1 7 8cache: 9 directories: 10 - $HOME/.composer/cache 11 12env: 13 global: 14 - TARGET=test 15 16matrix: 17 include: 18 - php: 7.2 19 - php: 7.3 20 - php: 7.2 21 env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable' 22 - php: 7.2 23 env: TARGET=docs 24 fast_finish: true 25 26install: 27 - if [ -x .travis/install_${TARGET}.sh ]; then .travis/install_${TARGET}.sh; fi; 28 29script: 30 - if [ -x .travis/script_${TARGET}.sh ]; then .travis/script_${TARGET}.sh; fi; 31 32after_success: 33 - if [ -x .travis/sucess_${TARGET}.sh ]; then .travis/sucess_${TARGET}.sh; fi; 34