From 57527da09a5e94c62d775ef679d31bb41378f86a Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Mon, 19 Feb 2018 08:06:54 -0800 Subject: [PATCH 1/2] Test installation --- ci/script.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ci/script.sh b/ci/script.sh index c17d839ca2402..fd4047bf92289 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -5,3 +5,12 @@ cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DDART_VERBOSE=ON -DDART_TREAT_WARNINGS_AS_ if [ "$TRAVIS_OS_NAME" = "linux" ]; then make -j4 tutorials examples tests; else make -j4 tests; fi if [ "$TRAVIS_OS_NAME" = "linux" ]; then make check-format; fi if [ $CODECOV = ON ]; then make -j4 codecov; else make -j4 test; fi + +# Make sure we can install with no issues +make -j4 install + +# Build an example using installed DART +cd $TRAVIS_BUILD_DIR/examples/rigidCubes +mkdir build && cd build +cmake .. +make -j4 From debcff8a78e015f785f27e2a6fd15340773ff20a Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Mon, 19 Feb 2018 09:29:42 -0800 Subject: [PATCH 2/2] Use sudo to install --- ci/script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/script.sh b/ci/script.sh index fd4047bf92289..cfce1587c76ab 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -7,7 +7,7 @@ if [ "$TRAVIS_OS_NAME" = "linux" ]; then make check-format; fi if [ $CODECOV = ON ]; then make -j4 codecov; else make -j4 test; fi # Make sure we can install with no issues -make -j4 install +sudo make -j4 install # Build an example using installed DART cd $TRAVIS_BUILD_DIR/examples/rigidCubes