chore(.travis.yml.in): call cpack conditionally

This commit is contained in:
Sebastian Ullrich 2017-05-31 16:40:59 +02:00 committed by Leonardo de Moura
parent f87f35d623
commit c4d684cc33
2 changed files with 2 additions and 4 deletions

View file

@ -117,9 +117,8 @@ script:
../src || exit
- make -j2 || exit
- export PATH="$TRAVIS_BUILD_DIR/bin:$PATH"
- cpack
- if [[ $TEST != OFF ]]; then yes "A" | ctest -j2 --output-on-failure; fi
- if [[ $PACKAGE == TRUE ]]; then make package; fi
- if [[ $PACKAGE == TRUE ]]; then cpack; make package; fi
- if [[ $TEST_LEANPKG_REGISTRY == ON ]]; then ../script/test_registry.py; fi
- cd ..

View file

@ -117,9 +117,8 @@ script:
../src || exit
- make -j2 || exit
- export PATH="$TRAVIS_BUILD_DIR/bin:$PATH"
- cpack
- if [[ $TEST != OFF ]]; then yes "A" | ctest -j2 --output-on-failure; fi
- if [[ $PACKAGE == TRUE ]]; then make package; fi
- if [[ $PACKAGE == TRUE ]]; then cpack; make package; fi
- if [[ $TEST_LEANPKG_REGISTRY == ON ]]; then ../script/test_registry.py; fi
- cd ..