From c01b7335d050606f50b5956dc4c16db04da78a68 Mon Sep 17 00:00:00 2001 From: Erwin Janssen Date: Wed, 10 Aug 2016 10:37:12 +0200 Subject: [PATCH] Travis: clean build steps. Because the results of `make install` when using a prefix aren't binaries suitable to be released, some build steps can either be removed or simpified. --- .travis.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index c7648f2db..8d85b8d48 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,19 +25,14 @@ install: script: - cd ${TRAVIS_BUILD_DIR} -- GRAPHVIZ_DESTINATION_FOLDER="graphviz-build" -- "./autogen.sh NOCONFIG" -- "./configure --prefix=${TRAVIS_BUILD_DIR}/${GRAPHVIZ_DESTINATION_FOLDER}" -- make dist +# Build and test code +- ./autogen.sh - make -- make install -- ls -- ls ${GRAPHVIZ_DESTINATION_FOLDER} -- PATH=${TRAVIS_BUILD_DIR}/${GRAPHVIZ_DESTINATION_FOLDER}/bin:$PATH -- echo $PATH -- dot -V -- dot -c +- sudo make install - make check +# Create source package to deploy +- make dist + before_deploy: - GRAPHVIZ_PACKAGE_NAME="graphviz-${TRAVIS_TAG}-linux.tar.gz" - tar czf ${GRAPHVIZ_PACKAGE_NAME} ${GRAPHVIZ_DESTINATION_FOLDER} -- 2.40.0