Fix CI scripts
This commit is contained in:
		
							parent
							
								
									a9e3e676fe
								
							
						
					
					
						commit
						e93c25c7ff
					
				| @ -2,14 +2,14 @@ image: archlinux | |||||||
| packages: | packages: | ||||||
|   - rustup |   - rustup | ||||||
| sources: | sources: | ||||||
|   - https://github.com/ruma/ruma-client-api |   - https://github.com/ruma/ruma-events | ||||||
| tasks: | tasks: | ||||||
|   - rustup: | |   - rustup: | | ||||||
|       # We specify --profile minimal because we'd otherwise download docs |       # We specify --profile minimal because we'd otherwise download docs | ||||||
|       rustup toolchain install beta --profile minimal -c rustfmt -c clippy |       rustup toolchain install beta --profile minimal -c rustfmt -c clippy | ||||||
|       rustup default beta |       rustup default beta | ||||||
|   - test: | |   - test: | | ||||||
|       cd ruma-client-api |       cd ruma-events | ||||||
| 
 | 
 | ||||||
|       # We don't want the build to stop on individual failure of independent |       # We don't want the build to stop on individual failure of independent | ||||||
|       # tools, so capture tool exit codes and set the task exit code manually |       # tools, so capture tool exit codes and set the task exit code manually | ||||||
|  | |||||||
| @ -2,7 +2,7 @@ image: archlinux | |||||||
| packages: | packages: | ||||||
|   - rustup |   - rustup | ||||||
| sources: | sources: | ||||||
|   - https://github.com/ruma/ruma-client-api |   - https://github.com/ruma/ruma-events | ||||||
| tasks: | tasks: | ||||||
|   - rustup: | |   - rustup: | | ||||||
|       rustup toolchain install nightly --profile minimal |       rustup toolchain install nightly --profile minimal | ||||||
| @ -13,7 +13,7 @@ tasks: | |||||||
|       rustup component add rustfmt || true |       rustup component add rustfmt || true | ||||||
|       rustup component add clippy || true |       rustup component add clippy || true | ||||||
|   - test: | |   - test: | | ||||||
|       cd ruma-client-api |       cd ruma-events | ||||||
| 
 | 
 | ||||||
|       # We don't want the build to stop on individual failure of independent |       # We don't want the build to stop on individual failure of independent | ||||||
|       # tools, so capture tool exit codes and set the task exit code manually |       # tools, so capture tool exit codes and set the task exit code manually | ||||||
|  | |||||||
| @ -2,14 +2,14 @@ image: archlinux | |||||||
| packages: | packages: | ||||||
|   - rustup |   - rustup | ||||||
| sources: | sources: | ||||||
|   - https://github.com/ruma/ruma-client-api |   - https://github.com/ruma/ruma-events | ||||||
| tasks: | tasks: | ||||||
|   - rustup: | |   - rustup: | | ||||||
|       # We specify --profile minimal because we'd otherwise download docs |       # We specify --profile minimal because we'd otherwise download docs | ||||||
|       rustup toolchain install stable --profile minimal -c rustfmt -c clippy |       rustup toolchain install stable --profile minimal -c rustfmt -c clippy | ||||||
|       rustup default stable |       rustup default stable | ||||||
|   - test: | |   - test: | | ||||||
|       cd ruma-client-api |       cd ruma-events | ||||||
| 
 | 
 | ||||||
|       # We don't want the build to stop on individual failure of independent |       # We don't want the build to stop on individual failure of independent | ||||||
|       # tools, so capture tool exit codes and set the task exit code manually |       # tools, so capture tool exit codes and set the task exit code manually | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user