Правила для автоматической проверки
This commit is contained in:
		
							
								
								
									
										16
									
								
								.gitlab-ci.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								.gitlab-ci.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
test:bionic:
 | 
			
		||||
  image: bionic-dev
 | 
			
		||||
  only:
 | 
			
		||||
    - schedules
 | 
			
		||||
  before_script:
 | 
			
		||||
    - "[ $(($(date +%s)-$(git log -1 --date=format:%s --format=%cd))) -gt 86400 ] && exit 0"
 | 
			
		||||
    - apt-get update
 | 
			
		||||
    - apt-get -y install python3-pytest python3-sphinx
 | 
			
		||||
    - git submodule sync
 | 
			
		||||
    - git submodule update --recursive --init
 | 
			
		||||
  script:
 | 
			
		||||
    - "[ $(($(date +%s)-$(git log -1 --date=format:%s --format=%cd))) -gt 86400 ] && exit 0"
 | 
			
		||||
    - make build
 | 
			
		||||
    - make tests
 | 
			
		||||
    - make html
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user