Unstable will not be built or tested in Debug mode: takes too long.
parent
225bd36019
commit
7619ae2985
|
@ -46,7 +46,7 @@ function build ()
|
||||||
cmake $SOURCE_DIR \
|
cmake $SOURCE_DIR \
|
||||||
-DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE \
|
-DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE \
|
||||||
-DGTSAM_BUILD_TESTS=OFF \
|
-DGTSAM_BUILD_TESTS=OFF \
|
||||||
-DGTSAM_BUILD_UNSTABLE=ON \
|
-DGTSAM_BUILD_UNSTABLE=$GTSAM_BUILD_UNSTABLE \
|
||||||
-DGTSAM_BUILD_EXAMPLES_ALWAYS=ON \
|
-DGTSAM_BUILD_EXAMPLES_ALWAYS=ON \
|
||||||
-DGTSAM_ALLOW_DEPRECATED_SINCE_V4=$GTSAM_ALLOW_DEPRECATED_SINCE_V4
|
-DGTSAM_ALLOW_DEPRECATED_SINCE_V4=$GTSAM_ALLOW_DEPRECATED_SINCE_V4
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ function test ()
|
||||||
cmake $SOURCE_DIR \
|
cmake $SOURCE_DIR \
|
||||||
-DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE \
|
-DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE \
|
||||||
-DGTSAM_BUILD_TESTS=ON \
|
-DGTSAM_BUILD_TESTS=ON \
|
||||||
-DGTSAM_BUILD_UNSTABLE=ON \
|
-DGTSAM_BUILD_UNSTABLE=$GTSAM_BUILD_UNSTABLE \
|
||||||
-DGTSAM_BUILD_EXAMPLES_ALWAYS=OFF \
|
-DGTSAM_BUILD_EXAMPLES_ALWAYS=OFF \
|
||||||
-DGTSAM_ALLOW_DEPRECATED_SINCE_V4=OFF
|
-DGTSAM_ALLOW_DEPRECATED_SINCE_V4=OFF
|
||||||
|
|
||||||
|
|
13
.travis.yml
13
.travis.yml
|
@ -35,7 +35,7 @@ jobs:
|
||||||
- stage: compile
|
- stage: compile
|
||||||
os: osx
|
os: osx
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
env: CMAKE_BUILD_TYPE=Debug
|
env: CMAKE_BUILD_TYPE=Debug GTSAM_BUILD_UNSTABLE=OFF
|
||||||
script: bash .travis.sh -b
|
script: bash .travis.sh -b
|
||||||
- stage: compile
|
- stage: compile
|
||||||
os: osx
|
os: osx
|
||||||
|
@ -46,7 +46,7 @@ jobs:
|
||||||
- stage: compile
|
- stage: compile
|
||||||
os: osx
|
os: osx
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env: CMAKE_BUILD_TYPE=Debug
|
env: CMAKE_BUILD_TYPE=Debug GTSAM_BUILD_UNSTABLE=OFF
|
||||||
script: bash .travis.sh -b
|
script: bash .travis.sh -b
|
||||||
- stage: compile
|
- stage: compile
|
||||||
os: osx
|
os: osx
|
||||||
|
@ -57,7 +57,7 @@ jobs:
|
||||||
- stage: compile
|
- stage: compile
|
||||||
os: linux
|
os: linux
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
env: CMAKE_BUILD_TYPE=Debug
|
env: CMAKE_BUILD_TYPE=Debug GTSAM_BUILD_UNSTABLE=OFF
|
||||||
script: bash .travis.sh -b
|
script: bash .travis.sh -b
|
||||||
- stage: compile
|
- stage: compile
|
||||||
os: linux
|
os: linux
|
||||||
|
@ -68,7 +68,7 @@ jobs:
|
||||||
- stage: compile
|
- stage: compile
|
||||||
os: linux
|
os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env: CMAKE_BUILD_TYPE=Debug
|
env: CMAKE_BUILD_TYPE=Debug GTSAM_BUILD_UNSTABLE=OFF
|
||||||
script: bash .travis.sh -b
|
script: bash .travis.sh -b
|
||||||
- stage: compile
|
- stage: compile
|
||||||
os: linux
|
os: linux
|
||||||
|
@ -79,7 +79,7 @@ jobs:
|
||||||
- stage: compile
|
- stage: compile
|
||||||
os: linux
|
os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env: CMAKE_BUILD_TYPE=Debug GTSAM_ALLOW_DEPRECATED_SINCE_V4=ON
|
env: CMAKE_BUILD_TYPE=Debug GTSAM_BUILD_UNSTABLE=OFF GTSAM_ALLOW_DEPRECATED_SINCE_V4=ON
|
||||||
script: bash .travis.sh -b
|
script: bash .travis.sh -b
|
||||||
|
|
||||||
# Matrix configuration:
|
# Matrix configuration:
|
||||||
|
@ -94,8 +94,9 @@ env:
|
||||||
- MAKEFLAGS="-j2"
|
- MAKEFLAGS="-j2"
|
||||||
- CCACHE_SLOPPINESS=pch_defines,time_macros
|
- CCACHE_SLOPPINESS=pch_defines,time_macros
|
||||||
- GTSAM_ALLOW_DEPRECATED_SINCE_V4=OFF
|
- GTSAM_ALLOW_DEPRECATED_SINCE_V4=OFF
|
||||||
|
- GTSAM_BUILD_UNSTABLE=ON
|
||||||
matrix:
|
matrix:
|
||||||
- CMAKE_BUILD_TYPE=Debug
|
- CMAKE_BUILD_TYPE=Debug GTSAM_BUILD_UNSTABLE=OFF
|
||||||
- CMAKE_BUILD_TYPE=Release
|
- CMAKE_BUILD_TYPE=Release
|
||||||
script:
|
script:
|
||||||
- bash .travis.sh -t
|
- bash .travis.sh -t
|
||||||
|
|
Loading…
Reference in New Issue