mirror of
				https://github.com/esp8266/Arduino.git
				synced 2025-10-31 15:50:55 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			357 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			357 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/env bash
 | |
| 
 | |
| cache_dir=$(mktemp -d)
 | |
| 
 | |
| source "$TRAVIS_BUILD_DIR"/tests/common.sh
 | |
| 
 | |
| if [ -z "$BUILD_PARITY" ]; then
 | |
|     mod=1
 | |
|     rem=0
 | |
| elif [ "$BUILD_PARITY" = "even" ]; then
 | |
|     mod=2
 | |
|     rem=0
 | |
| elif [ "$BUILD_PARITY" = "odd" ]; then
 | |
|     mod=2
 | |
|     rem=1
 | |
| fi
 | |
| 
 | |
| install_arduino nodebug
 | |
| build_sketches_with_arduino "$mod" "$rem" lm2f
 | |
| 
 | |
| rm -rf "$cache_dir"
 | |
| 
 |