forked from alextartan/flysystem-libsodium-adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (31 loc) · 1.5 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
sudo: false
language: php
cache:
directories:
- $HOME/.composer/cache
matrix:
include:
- php: 7.4
env:
- CS_CHECK=true
- TEST_COVERAGE=true
- PHPSTAN=true
before_install:
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
- travis_retry composer self-update
install:
- travis_retry composer install --no-interaction --ignore-platform-reqs
- stty cols 120
- export COLUMNS=120
- composer show
script:
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage && composer test-infection ; else composer test ; fi
#- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
- if [[ $PHPSTAN == 'true' ]]; then composer phpstan ; fi
after_script:
- if [[ $TEST_COVERAGE == 'true' ]]; then composer upload-coverage ; fi
notifications:
email: false
env:
global:
secure: iOxgFfqhi726U5dIjWhkd2Hh4YYCt43xwzBShvNC/K0gegrfPbuEdrKesZDd6ZD644qdT8mL86WXTKbQREJDQZNbN5cFf9tvqnlRBuAJEa2bD1bKf1VI9ZosSHKZJYzbGOoC4Bhft72PE9jtJnpBfv3JIpMgb4tzNVW3oCeZXQ7lh8IhMWnHK02hCaAsU42m9+r0ClO+nON5VVgKn/bS2OArE7eGwAkp0rV6RNsehsGUgqx10RApBfl8Yzkx12ul/RaBbChQ3X+PiXyl9zvLaO34oZBw78d/CLL3czWDMibfMPzmMhUU/XylGFqgvMTD2ke09SwUekmczafnk77Bgx6iQNCieIMohYklUv3dWKl2MYJGB8MKqutn4stCDG65lVtVIRFbo0bI4zNW5KYJWdoIA2JPIeC/YcvD8NDg9WQxy0RQSX/sHHRAUk1X1alj+sCLxsCa5esjG1R+bhcsBh52meobMPP1PpSjPouo5VmLsJVBamC3pSYOcMZ6Js0lZLsCGxNCe3pkBdcMUmw0tjOfAHQAe9fHxtaoFiOU8vAa8ju6SKY2+BQjF4hjjHeEhjz5qWL/gcBIyUZqp3bPPkB/qHMnBzjKBlxuvTGaXpsJHlaCEEb5pRmhMaYfChHaGOFavZXwQxz1JGxuOmi6Ug1XwrNbPuVCX6ka7dTVUyw=