diff --git a/.travis.yml b/.travis.yml index 440a73a..6aae77c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,7 @@ install: - if [ -z "${SHELLCHECK-}" ]; then nvm install node && npm install && npm prune && npm ls urchin doctoc; fi - '[ -z "$WITHOUT_CURL" ] || sudo apt-get remove curl -y' script: + - if [ -n "${MAKE_RELEASE-}" ]; then export GIT_EDITOR="sed -i '1 s/^/99.99.99 make release test/'" && git fetch --unshallow --tags && echo proceed | make TAG=99.99.99 release ; fi - if [ -n "${DOCTOCCHECK-}" ]; then cp README.markdown README.markdown.orig && npm run doctoc && diff -q README.markdown README.markdown.orig ; fi - if [ -n "${SHELLCHECK-}" ]; then shellcheck -s bash nvm.sh && shellcheck -s sh nvm.sh && shellcheck -s dash nvm.sh && shellcheck -s ksh nvm.sh ; fi - if [ -n "${SHELLCHECK-}" ]; then shellcheck -s bash install.sh bash_completion nvm-exec ; fi @@ -38,6 +39,7 @@ env: - PATH="~/.cabal/bin/:$(echo $PATH | sed 's/::/:/')" - NVM_DIR="${TRAVIS_BUILD_DIR}" matrix: + - MAKE_RELEASE=true - DOCTOCCHECK=true - SHELLCHECK=true - SHELL=bash TEST_SUITE=install_script