Performed a slight refactoring of CI scripts to make it easier for developers to run the **same** tests as those run on Travis. Defined `npm` scripts `test-js` and `test-dart`. `npm test` now runs the whole lot. Closes #966
		
			
				
	
	
		
			13 lines
		
	
	
		
			236 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			236 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| set -e
 | |
| 
 | |
| MODE=$1
 | |
| 
 | |
| echo =============================================================================
 | |
| # go to project dir
 | |
| SCRIPT_DIR=$(dirname $0)
 | |
| cd $SCRIPT_DIR/../..
 | |
| 
 | |
| ${SCRIPT_DIR}/build_$MODE.sh
 | |
| ${SCRIPT_DIR}/test_$MODE.sh
 |