mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 08:57:25 +01:00 
			
		
		
		
	Try to fix Travis deployments
- Use unittest discover instead of 'cd' to run tests - Disable cleanup before deploy (as our __init__.py is generated at build time)
This commit is contained in:
		
							parent
							
								
									fac6fe506f
								
							
						
					
					
						commit
						81170e8062
					
				@ -10,7 +10,7 @@ python:
 | 
			
		||||
install: python3 setup.py install
 | 
			
		||||
script:
 | 
			
		||||
  - python3 -m compileall .
 | 
			
		||||
  - cd test/ && python3 -m unittest *.py
 | 
			
		||||
  - python3 -m unittest discover test/ --verbose
 | 
			
		||||
 | 
			
		||||
deploy:
 | 
			
		||||
  provider: pypi
 | 
			
		||||
@ -27,5 +27,8 @@ deploy:
 | 
			
		||||
    condition: $(python3 -c 'import re,os; print(bool(re.match(r"^(\d+\.){2,}\d+$", os.environ.get("TRAVIS_TAG", ""))))') == "True"
 | 
			
		||||
    python: '3.6'
 | 
			
		||||
 | 
			
		||||
  # Because our __init__.py is generated at build-time!
 | 
			
		||||
  skip_cleanup: true
 | 
			
		||||
 | 
			
		||||
notifications:
 | 
			
		||||
  email: false
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user