mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Travis: find the Qt plugins when running tests
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									2f81a6927b
								
							
						
					
					
						commit
						f32b431a6d
					
				
					 1 changed files with 7 additions and 2 deletions
				
			
		|  | @ -44,10 +44,15 @@ before_install: | |||
|     - "sh -e /etc/init.d/xvfb start" | ||||
| 
 | ||||
| script: | ||||
|     - export PATH=$PWD/Qt/5.9.1/bin:$PATH # Make sure correct qmake is found on the $PATH for linuxdeployqt | ||||
|     - export CMAKE_PREFIX_PATH=$PWD/Qt/5.9.1/lib/cmake ; | ||||
|     - export QT_ROOT=$PWD/Qt | ||||
|     - export PATH=$QT_ROOT/5.9.1/bin:$PATH # Make sure correct qmake is found on the $PATH for linuxdeployqt | ||||
|     - export CMAKE_PREFIX_PATH=$QT_ROOT/5.9.1/lib/cmake ; | ||||
|       cd .. ; | ||||
|       bash -e ./subsurface/scripts/build.sh -desktop -create-appdir -build-with-webkit | ||||
|     - export QT_PLUGIN_PATH=$QT_ROOT/5.9.1/plugins | ||||
|     - export QT_QPA_PLATFORM_PLUGIN_PATH=$QT_ROOT/5.9.1/plugins | ||||
|     - export QT_DEBUG_PLUGINS=1 | ||||
|     - find $QT_ROOT/5.9.1/plugins | ||||
|     - env CTEST_OUTPUT_ON_FAILURE=1 make -C subsurface/build check | ||||
|     - # env CTEST_OUTPUT_ON_FAILURE=1 make -C subsurface/build-mobile check | ||||
|     - mkdir -p appdir/usr/plugins/ ; mv appdir/usr/home/travis/build/*/subsurface/Qt/5.9.1/plugins/* appdir/usr/plugins/ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue