Build shared libraries on a selection of platforms.
This commit is contained in:
		
							parent
							
								
									8f3482561b
								
							
						
					
					
						commit
						5c1f76e3cf
					
				
							
								
								
									
										37
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										37
									
								
								.travis.yml
									
									
									
									
									
								
							| @ -20,7 +20,6 @@ matrix: | ||||
|         apt: | ||||
|           sources: ['llvm-toolchain-precise-3.5', 'ubuntu-toolchain-r-test'] | ||||
|           packages: ['clang-3.5', 'libbz2-dev', 'libstxxl-dev', 'libstxxl1', 'libxml2-dev', 'libzip-dev', 'lua5.1', 'liblua5.1-0-dev', 'rubygems-integration', 'libtbb-dev', 'libgdal-dev', 'libluabind-dev', 'libboost-all-dev'] | ||||
| 
 | ||||
|       env: COMPILER='clang++-3.5' BUILD_TYPE='Release' | ||||
| 
 | ||||
|     - os: linux | ||||
| @ -28,7 +27,6 @@ matrix: | ||||
|       addons: *clang35 | ||||
|       env: COMPILER='clang++-3.5' BUILD_TYPE='Debug' | ||||
| 
 | ||||
| 
 | ||||
|     - os: linux | ||||
|       compiler: clang | ||||
|       addons: &clang36 | ||||
| @ -65,6 +63,14 @@ matrix: | ||||
|           packages: ['clang-3.8', 'libbz2-dev', 'libstxxl-dev', 'libstxxl1', 'libxml2-dev', 'libzip-dev', 'lua5.1', 'liblua5.1-0-dev', 'rubygems-integration', 'libtbb-dev', 'libgdal-dev', 'libluabind-dev', 'libboost-all-dev'] | ||||
|       env: COMPILER='clang++-3.8' BUILD_TYPE='Release' | ||||
| 
 | ||||
|     - os: linux | ||||
|       compiler: clang | ||||
|       addons: &clang38 | ||||
|         apt: | ||||
|           sources: ['llvm-toolchain-precise', 'ubuntu-toolchain-r-test'] | ||||
|           packages: ['clang-3.8', 'libbz2-dev', 'libstxxl-dev', 'libstxxl1', 'libxml2-dev', 'libzip-dev', 'lua5.1', 'liblua5.1-0-dev', 'rubygems-integration', 'libtbb-dev', 'libgdal-dev', 'libluabind-dev', 'libboost-all-dev'] | ||||
|       env: COMPILER='clang++-3.8' BUILD_TYPE='Release' BUILD_SHARED_LIBS=ON | ||||
| 
 | ||||
|     - os: linux | ||||
|       compiler: clang | ||||
|       addons: *clang38 | ||||
| @ -94,6 +100,14 @@ matrix: | ||||
|           packages: ['g++-4.9', 'libbz2-dev', 'libstxxl-dev', 'libstxxl1', 'libxml2-dev', 'libzip-dev', 'lua5.1', 'liblua5.1-0-dev', 'rubygems-integration', 'libtbb-dev', 'libgdal-dev', 'libluabind-dev', 'libboost-all-dev'] | ||||
|       env: COMPILER='g++-4.9' BUILD_TYPE='Release' | ||||
| 
 | ||||
|     - os: linux | ||||
|       compiler: gcc | ||||
|       addons: &gcc49 | ||||
|         apt: | ||||
|           sources: ['ubuntu-toolchain-r-test'] | ||||
|           packages: ['g++-4.9', 'libbz2-dev', 'libstxxl-dev', 'libstxxl1', 'libxml2-dev', 'libzip-dev', 'lua5.1', 'liblua5.1-0-dev', 'rubygems-integration', 'libtbb-dev', 'libgdal-dev', 'libluabind-dev', 'libboost-all-dev'] | ||||
|       env: COMPILER='g++-4.9' BUILD_TYPE='Release' BUILD_SHARED_LIBS=ON | ||||
| 
 | ||||
|     - os: linux | ||||
|       compiler: gcc | ||||
|       addons: *gcc49 | ||||
| @ -108,6 +122,14 @@ matrix: | ||||
|           packages: ['g++-5', 'libbz2-dev', 'libstxxl-dev', 'libstxxl1', 'libxml2-dev', 'libzip-dev', 'lua5.1', 'liblua5.1-0-dev', 'rubygems-integration', 'libtbb-dev', 'libgdal-dev', 'libluabind-dev', 'libboost-all-dev'] | ||||
|       env: COMPILER='g++-5' BUILD_TYPE='Release' | ||||
| 
 | ||||
|     - os: linux | ||||
|       compiler: gcc | ||||
|       addons: &gcc5 | ||||
|         apt: | ||||
|           sources: ['ubuntu-toolchain-r-test'] | ||||
|           packages: ['g++-5', 'libbz2-dev', 'libstxxl-dev', 'libstxxl1', 'libxml2-dev', 'libzip-dev', 'lua5.1', 'liblua5.1-0-dev', 'rubygems-integration', 'libtbb-dev', 'libgdal-dev', 'libluabind-dev', 'libboost-all-dev'] | ||||
|       env: COMPILER='g++-5' BUILD_TYPE='Release' BUILD_SHARED_LIBS=ON | ||||
| 
 | ||||
|     - os: linux | ||||
|       compiler: gcc | ||||
|       addons: *gcc5 | ||||
| @ -127,6 +149,10 @@ matrix: | ||||
|     #  compiler: clang | ||||
|     #  env: COMPILER='clang++' BUILD_TYPE='Release' | ||||
| 
 | ||||
|     #- os: osx | ||||
|     #  osx_image: xcode6.4 | ||||
|     #  compiler: clang | ||||
|     #  env: COMPILER='clang++' BUILD_TYPE='Release' BUILD_SHARED_LIBS=ON | ||||
| 
 | ||||
|     #- os: osx | ||||
|     #  osx_image: xcode7 | ||||
| @ -138,6 +164,11 @@ matrix: | ||||
|     #  compiler: clang | ||||
|     #  env: COMPILER='clang++' BUILD_TYPE='Release' | ||||
| 
 | ||||
|     #- os: osx | ||||
|     #  osx_image: xcode7 | ||||
|     #  compiler: clang | ||||
|     #  env: COMPILER='clang++' BUILD_TYPE='Release' BUILD_SHARED_LIBS=ON | ||||
| 
 | ||||
| 
 | ||||
| install: | ||||
|   - DEPS_DIR="${TRAVIS_BUILD_DIR}/deps" | ||||
| @ -164,7 +195,7 @@ before_script: | ||||
|   - mkdir build && cd build | ||||
|   - export CXX=${COMPILER} | ||||
|   - export OSRM_PORT=5000 OSRM_TIMEOUT=60 | ||||
|   - cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DBUILD_TOOLS=1 | ||||
|   - cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS:-OFF} -DBUILD_TOOLS=1 | ||||
| 
 | ||||
| script: | ||||
|   - make --jobs=2 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user