Commit 8d1d2a8e authored by John Ellson's avatar John Ellson

attempting to set up travis

parent 9638393d
......@@ -3,43 +3,32 @@ sudo: false
addons:
apt:
packages:
- ksh
- libgd2-xpm-dev
- tcl-dev
- libdevil-dev
- libxaw7-dev
- freeglut3-dev
- ksh
- libgd2-xpm-dev
- tcl-dev
- libdevil-dev
- libxaw7-dev
- freeglut3-dev
script:
- GRAPHVIZ_DESTINATION_FOLDER="graphviz-build"
# Build and install to non-root folder
- ./autogen.sh NOCONFIG
- ./configure --prefix=${TRAVIS_BUILD_DIR}/${GRAPHVIZ_DESTINATION_FOLDER}
- make
- make install
# List contents of directory to see if the install created the directory succesfully
- ls
# Show contents of created directory
- ls ${GRAPHVIZ_DESTINATION_FOLDER}
# Add build/bin folder to path so the tests can run
- PATH=${TRAVIS_BUILD_DIR}/${GRAPHVIZ_DESTINATION_FOLDER}/bin:$PATH
- echo $PATH
- dot -V
- dot -c
- make check
- GRAPHVIZ_DESTINATION_FOLDER="graphviz-build"
- "./autogen.sh NOCONFIG"
- "./configure --prefix=${TRAVIS_BUILD_DIR}/${GRAPHVIZ_DESTINATION_FOLDER}"
- make
- make install
- ls
- ls ${GRAPHVIZ_DESTINATION_FOLDER}
- PATH=${TRAVIS_BUILD_DIR}/${GRAPHVIZ_DESTINATION_FOLDER}/bin:$PATH
- echo $PATH
- dot -V
- dot -c
- make check
before_deploy:
# Put package in tar.gz
- GRAPHVIZ_PACKAGE_NAME="graphviz-${TRAVIS_TAG}-linux.tar.gz"
- tar czf ${GRAPHVIZ_PACKAGE_NAME} ${GRAPHVIZ_DESTINATION_FOLDER}
- GRAPHVIZ_PACKAGE_NAME="graphviz-${TRAVIS_TAG}-linux.tar.gz"
- tar czf ${GRAPHVIZ_PACKAGE_NAME} ${GRAPHVIZ_DESTINATION_FOLDER}
deploy:
provider: releases
api_key: ${GITHUB_OAUTH_TOKEN}
file_glob: true
file: ${GRAPHVIZ_PACKAGE_NAME}
skip_cleanup: true
api_key:
secure: EmdyQU0yNlq2mYtCz4xRj1Eyd73s5xYcD5tP+E42QmQhCoTSD0nb7J6H9MlzAXby2lgqDxcINvkXuEWGyySi4QHs32H7THbKs0U/dD7FuC7zFIfd2o/Q0kWyASTm8hPwu/OghmitmBXy37+QdfO4Snzy+AqVmHH3VtUax3kf0+qg12fQiNsDRXFJfO9mBddKNjxktjmfdN87pNfcVcNkCZz5DDs91ldIr6FiC+YMbfedtXqEjkavYSpFU/IX6/GJ9suJseGNH7+hmlSfw9yZT5TNd/8dnmUr2j4cD6pKgZWBQfWE/GmoJbYFbfIYfFzkwvLm3OEbr0rnsNabvKmApGpr8XBiO+w1raEXHXLsblp7eQi2BdQFu2QmVhh6vQP0uqAM12oEoC+m2FtR5WVy43RHA4tvK4hddikfUcRDRFQov9rqXj6x/cdmEhuimjugTbzmekrZ9RITucOs6YLtLry05oUjED1AD47rknTJAmZ3W93LANY7CLt8JsLhAODCZO/lTRhrXGOE2mSEiq/fqw2ZPrDPjI8J2BysYO7xb+IW1/S3seOnzL0m2Ox0wZkvDZyg9+HfjIa8AcCdJZ7EXlfDL+ExXcSbGTzwWhvy48f249cSjKM96q0SmVcIyCEapgFSIOyLSYQv3i/+5PB/ZLVT2rOdvj6zPVymAhAxEX4=
file: ''
on:
tags: true
repo: ellson/graphviz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment