mirror of
				https://github.com/qurator-spk/modstool.git
				synced 2025-11-04 03:14:14 +01:00 
			
		
		
		
	🚧 modstool: Replace Travis with CircleCI
This commit is contained in:
		
							parent
							
								
									662343fdcf
								
							
						
					
					
						commit
						1bc366706b
					
				
					 3 changed files with 24 additions and 14 deletions
				
			
		
							
								
								
									
										23
									
								
								.circleci/config.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								.circleci/config.yml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,23 @@
 | 
				
			||||||
 | 
					version: 2.1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  test:
 | 
				
			||||||
 | 
					    parameters:
 | 
				
			||||||
 | 
					      python-version:
 | 
				
			||||||
 | 
					        type: string
 | 
				
			||||||
 | 
					    docker:
 | 
				
			||||||
 | 
					      - image: circleci/python:<< parameters.python-version >>
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - checkout
 | 
				
			||||||
 | 
					      - run: pip3 install --upgrade pip
 | 
				
			||||||
 | 
					      - run: pip3 install -r requirements.txt
 | 
				
			||||||
 | 
					      - run: pip3 install pytest
 | 
				
			||||||
 | 
					      - run: pytest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					workflows:
 | 
				
			||||||
 | 
					  all-tests:
 | 
				
			||||||
 | 
					    jobs:
 | 
				
			||||||
 | 
					      - test:
 | 
				
			||||||
 | 
					          matrix:
 | 
				
			||||||
 | 
					            parameters:
 | 
				
			||||||
 | 
					              python-version: ["3.5", "3.6", "3.7", "3.8", "3.9"]
 | 
				
			||||||
							
								
								
									
										13
									
								
								.travis.yml
									
										
									
									
									
								
							
							
						
						
									
										13
									
								
								.travis.yml
									
										
									
									
									
								
							| 
						 | 
					@ -1,13 +0,0 @@
 | 
				
			||||||
dist: xenial  # required for Python >= 3.7
 | 
					 | 
				
			||||||
language: python
 | 
					 | 
				
			||||||
python:
 | 
					 | 
				
			||||||
  - "3.5"
 | 
					 | 
				
			||||||
  - "3.6"
 | 
					 | 
				
			||||||
  - "3.7"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
install:
 | 
					 | 
				
			||||||
  - pip install -r requirements.txt
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
script:
 | 
					 | 
				
			||||||
  - pytest
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
Extract the MODS metadata of a bunch of METS files into a pandas DataFrame.
 | 
					Extract the MODS metadata of a bunch of METS files into a pandas DataFrame.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[](https://travis-ci.org/qurator-spk/modstool)
 | 
					[](https://circleci.com/gh/qurator-spk/modstool)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Column names are derived from the corresponding MODS elements. Some domain
 | 
					Column names are derived from the corresponding MODS elements. Some domain
 | 
				
			||||||
knowledge is used to convert elements to a useful column, e.g. produce sets
 | 
					knowledge is used to convert elements to a useful column, e.g. produce sets
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue