mirror of
				https://github.com/vector-im/element-web.git
				synced 2025-11-04 02:02:14 +01:00 
			
		
		
		
	Merge pull request #2419 from matrix-org/bwindels/travis-fixup
run unit tests on riot-web like before
This commit is contained in:
		
						commit
						76d19e55e4
					
				@ -30,3 +30,6 @@ matrix:
 | 
			
		||||
        - name: Unit Tests
 | 
			
		||||
          script:
 | 
			
		||||
            - ./scripts/travis/unit-tests.sh
 | 
			
		||||
        - name: Riot-web Unit Tests
 | 
			
		||||
          script:
 | 
			
		||||
            - ./scripts/travis/riot-unit-tests.sh
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										14
									
								
								scripts/travis/riot-unit-tests.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										14
									
								
								scripts/travis/riot-unit-tests.sh
									
									
									
									
									
										Executable file
									
								
							@ -0,0 +1,14 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
#
 | 
			
		||||
# script which is run by the travis build (after `npm run test`).
 | 
			
		||||
#
 | 
			
		||||
# clones riot-web develop and runs the tests against our version of react-sdk.
 | 
			
		||||
 | 
			
		||||
set -ev
 | 
			
		||||
 | 
			
		||||
RIOT_WEB_DIR=riot-web
 | 
			
		||||
 | 
			
		||||
scripts/travis/build.sh
 | 
			
		||||
pushd "$RIOT_WEB_DIR"
 | 
			
		||||
npm run test
 | 
			
		||||
popd
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user