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.
		
		
		
		
			
				
					31 lines
				
				590 B
			
		
		
			
		
	
	
					31 lines
				
				590 B
			| 
								 
											4 years ago
										 
									 | 
							
								language: php
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								cache:
							 | 
						||
| 
								 | 
							
								  directories:
							 | 
						||
| 
								 | 
							
								    - vendor
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								matrix:
							 | 
						||
| 
								 | 
							
								    include:
							 | 
						||
| 
								 | 
							
								        - php: 5.6
							 | 
						||
| 
								 | 
							
								          env:
							 | 
						||
| 
								 | 
							
								            - COMPOSER_FLAGS='--prefer-lowest'
							 | 
						||
| 
								 | 
							
								        - php: 7.0
							 | 
						||
| 
								 | 
							
								        - php: 7.1
							 | 
						||
| 
								 | 
							
								        - php: 7.2
							 | 
						||
| 
								 | 
							
								        - php: 7.3
							 | 
						||
| 
								 | 
							
								        - php: 7.4
							 | 
						||
| 
								 | 
							
								          env:
							 | 
						||
| 
								 | 
							
								            - COVERAGE='--coverage --coverage-xml'
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								before_install:
							 | 
						||
| 
								 | 
							
								    - if [[ ! $COVERAGE ]]; then phpenv config-rm xdebug.ini; fi;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								before_script: composer update -n $COMPOSER_FLAGS
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								script:
							 | 
						||
| 
								 | 
							
								    - vendor/bin/phpcs
							 | 
						||
| 
								 | 
							
								    - vendor/bin/codecept run unit $COVERAGE
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								after_script:
							 | 
						||
| 
								 | 
							
								    - if [[ $COVERAGE ]]; then ./coverage.sh; fi;
							 |