From 18d19d6ea2043f048fd6d741ec268ffdeb1043cf Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Sun, 12 Feb 2017 13:38:32 +0100 Subject: Add .travis.yml first draft --- .travis.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9c89a9e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +os: + - linux + - osx + +env: + global: + - KERL_BASE_DIR="$TMPDIR"/.kerl + matrix: + - _KERL_VSN=R16B02 + - _KERL_VSN=19.2 + +script: + - ./kerl update releases + - ./kerl build "$_KERL_VSN" "$_KERL_VSN" + - ./kerl install "$_KERL_VSN" "$TMPDIR/i_$_KERL_VSN" + - ./kerl status -- cgit v1.2.3 From 5f4e5e252c52b890386161e72eca48618ae1e628 Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Sun, 12 Feb 2017 14:58:56 +0100 Subject: Add 18.3 to erlang versions to test --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 9c89a9e..0cb1161 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,7 @@ env: - KERL_BASE_DIR="$TMPDIR"/.kerl matrix: - _KERL_VSN=R16B02 + - _KERL_VSN=18.3 - _KERL_VSN=19.2 script: -- cgit v1.2.3 From 64ee9f1df3b0348cfcb50cef48d025a35ac40a41 Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Sun, 12 Feb 2017 16:08:32 +0100 Subject: Extend time given for build to 20mins https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0cb1161..45da49c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,6 @@ env: script: - ./kerl update releases - - ./kerl build "$_KERL_VSN" "$_KERL_VSN" + - travis_wait ./kerl build "$_KERL_VSN" "$_KERL_VSN" - ./kerl install "$_KERL_VSN" "$TMPDIR/i_$_KERL_VSN" - ./kerl status -- cgit v1.2.3 From 7db28f64044ef210ea114622a7f28b9a8312851a Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Sun, 12 Feb 2017 17:58:03 +0100 Subject: Tweak install name Cut back on erlang versions in matrix while testing --- .travis.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 45da49c..41e0c56 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,12 +6,10 @@ env: global: - KERL_BASE_DIR="$TMPDIR"/.kerl matrix: - - _KERL_VSN=R16B02 - - _KERL_VSN=18.3 - _KERL_VSN=19.2 script: - ./kerl update releases - travis_wait ./kerl build "$_KERL_VSN" "$_KERL_VSN" - - ./kerl install "$_KERL_VSN" "$TMPDIR/i_$_KERL_VSN" + - ./kerl install "$_KERL_VSN" "install_$_KERL_VSN" - ./kerl status -- cgit v1.2.3 From bc9daf24c644d29ef3b5396f869276f577f3946d Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Sun, 12 Feb 2017 18:25:59 +0100 Subject: Add more build steps to clean env --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 41e0c56..208a874 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,11 +5,14 @@ os: env: global: - KERL_BASE_DIR="$TMPDIR"/.kerl + - KERL_CONFIGURE_DISABLE_APPLICATIONS="odbc" matrix: - _KERL_VSN=19.2 script: - ./kerl update releases - - travis_wait ./kerl build "$_KERL_VSN" "$_KERL_VSN" + - travis_wait 30 ./kerl build "$_KERL_VSN" "$_KERL_VSN" - ./kerl install "$_KERL_VSN" "install_$_KERL_VSN" - ./kerl status + - ./kerl delete install "install_$_KERL_VSN" + - ./kerl delete build "$_KERL_VSN" -- cgit v1.2.3 From 1b6de802f6c054c15ac6e3ffca71b0cd1b7b439a Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Sun, 12 Feb 2017 18:54:12 +0100 Subject: it's 'delete installation' not 'delete install'... --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 208a874..4f40c81 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,5 +14,5 @@ script: - travis_wait 30 ./kerl build "$_KERL_VSN" "$_KERL_VSN" - ./kerl install "$_KERL_VSN" "install_$_KERL_VSN" - ./kerl status - - ./kerl delete install "install_$_KERL_VSN" + - ./kerl delete installation "install_$_KERL_VSN" - ./kerl delete build "$_KERL_VSN" -- cgit v1.2.3 From c289a2359ba12fdef6dec083f3c402fbb58b97ba Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Sun, 12 Feb 2017 19:20:33 +0100 Subject: Fix path to install dir when removing installation This is a bit nasty, and could be improved by #185 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4f40c81..6194cac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,5 +14,5 @@ script: - travis_wait 30 ./kerl build "$_KERL_VSN" "$_KERL_VSN" - ./kerl install "$_KERL_VSN" "install_$_KERL_VSN" - ./kerl status - - ./kerl delete installation "install_$_KERL_VSN" + - ./kerl delete installation /home/travis/build/kerl/kerl/install_"$_KERL_VSN" - ./kerl delete build "$_KERL_VSN" -- cgit v1.2.3 From 7ec1f8e0463b99ada8cc85de098b7aa9e6ab3f04 Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Sun, 12 Feb 2017 19:21:09 +0100 Subject: Better way to get path to installation --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6194cac..fab0a8c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,5 +14,5 @@ script: - travis_wait 30 ./kerl build "$_KERL_VSN" "$_KERL_VSN" - ./kerl install "$_KERL_VSN" "install_$_KERL_VSN" - ./kerl status - - ./kerl delete installation /home/travis/build/kerl/kerl/install_"$_KERL_VSN" + - ./kerl delete installation $(pwd)/install_"$_KERL_VSN" - ./kerl delete build "$_KERL_VSN" -- cgit v1.2.3 From 0b18d3cd64301e5be9c44b9e233fb83127c51d7f Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Thu, 16 Feb 2017 19:54:05 +0100 Subject: Add 'kerl path' subcommand Re #185 - [x] add `path` subcommad --- kerl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/kerl b/kerl index 98cefb2..f6c9e88 100755 --- a/kerl +++ b/kerl @@ -1229,6 +1229,11 @@ list_has() return 1 } +path_usage() +{ + echo "usage: $0 path []" +} + list_usage() { echo "usage: $0 list " @@ -1549,6 +1554,16 @@ case "$1" in ;; esac ;; + path) + # Usage: + # kerl path + # # Print currently active installation path, else non-zero exit + # kerl path + # Print path to installation with name , else non-zero exit + if [ -z "$2" ]; then + get_active_path + fi + ;; delete) if [ $# -ne 3 ]; then delete_usage -- cgit v1.2.3 From c684e654274d65577d7133d6d22e5e7be17a6ee8 Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Fri, 17 Feb 2017 00:44:17 +0100 Subject: First pass at some of 'kerl path' WIP, lots TODO --- kerl | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/kerl b/kerl index f6c9e88..d18d532 100755 --- a/kerl +++ b/kerl @@ -171,7 +171,7 @@ usage() { echo "kerl: build and install Erlang/OTP" echo "usage: $0 [options ...]" - printf "\n Command to be executed\n\n" + echo "\n Command to be executed\n\n" echo "Valid commands are:" echo " build Build specified release or git repository" echo " install Install the specified release at the given location" @@ -1200,6 +1200,24 @@ list_print() echo "There are no $1 available" } +list_print1() +{ + # TODO Assert that there is exactly 1 match + # TODO This function is a misnomer because it's becoming + # totally specialised to finding an installation by name + # We really only want to match if a single install has a path + # such that $(basename $installpath) == $2 + # There are some possible extensions to this we could + # consider, such as: + # - match as above if there's exactly 1 match + # - if 2+ matches: prefer one in a subdir from $PWD + # - prefer $KERL_DEFAULT_INSTALL_DIR + # - probably more! + # FIXME 'grep -w' treats '-' as word boundary, so a search for + # 'foo-1' will match both '/path/foo-1' and '/path/bar-foo-1' + grep -w "$2" "$KERL_BASE_DIR/otp_$1" 2>&1 +} + list_add() { if [ -f "$KERL_BASE_DIR/otp_$1" ]; then @@ -1561,7 +1579,19 @@ case "$1" in # kerl path # Print path to installation with name , else non-zero exit if [ -z "$2" ]; then - get_active_path + # TODO Print a warning if no active path + activepath=$(get_active_path) + if [ -z "$activepath" ]; then + echo "No active kerl-managed erlang installation" + exit 1 + fi + echo "$activepath" + else + # TODO Move this inside something like assert_valid_installation + # that either prints exactly 1 match or exits non-zero + # TODO Print exactly 1 otherwise error + activepath=$(list_print1 installations "$2" | cut -d' ' -f2) + echo $activepath fi ;; delete) -- cgit v1.2.3 From 9a3205b326eda1b906c8078c11af914fec2be1fb Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Sat, 18 Feb 2017 13:40:01 +0100 Subject: Flesh out 'kerl path' --- kerl | 41 +++++++++++++++++------------------------ 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/kerl b/kerl index d18d532..2ea08e4 100755 --- a/kerl +++ b/kerl @@ -1200,24 +1200,6 @@ list_print() echo "There are no $1 available" } -list_print1() -{ - # TODO Assert that there is exactly 1 match - # TODO This function is a misnomer because it's becoming - # totally specialised to finding an installation by name - # We really only want to match if a single install has a path - # such that $(basename $installpath) == $2 - # There are some possible extensions to this we could - # consider, such as: - # - match as above if there's exactly 1 match - # - if 2+ matches: prefer one in a subdir from $PWD - # - prefer $KERL_DEFAULT_INSTALL_DIR - # - probably more! - # FIXME 'grep -w' treats '-' as word boundary, so a search for - # 'foo-1' will match both '/path/foo-1' and '/path/bar-foo-1' - grep -w "$2" "$KERL_BASE_DIR/otp_$1" 2>&1 -} - list_add() { if [ -f "$KERL_BASE_DIR/otp_$1" ]; then @@ -1579,7 +1561,6 @@ case "$1" in # kerl path # Print path to installation with name , else non-zero exit if [ -z "$2" ]; then - # TODO Print a warning if no active path activepath=$(get_active_path) if [ -z "$activepath" ]; then echo "No active kerl-managed erlang installation" @@ -1587,11 +1568,23 @@ case "$1" in fi echo "$activepath" else - # TODO Move this inside something like assert_valid_installation - # that either prints exactly 1 match or exits non-zero - # TODO Print exactly 1 otherwise error - activepath=$(list_print1 installations "$2" | cut -d' ' -f2) - echo $activepath + # There are some possible extensions to this we could + # consider, such as: + # - if 2+ matches: prefer one in a subdir from $PWD + # - prefer $KERL_DEFAULT_INSTALL_DIR + match= + for ins in $(list_print installations | cut -d' ' -f2); do + if [ "$(basename $ins)" = "$2" ]; then + if [ -z "$match" ]; then + match="$ins" + else + echo "Error: too many matching installations" >&2 + exit 2 + fi + fi + done + [ -n "$match" ] && echo "$match" && exit 0 + echo "Error: no matching installation found" >&2 && exit 1 fi ;; delete) -- cgit v1.2.3 From 2793ae422651b40689f61839a9b60bbe65fb2ef9 Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Sat, 18 Feb 2017 13:59:49 +0100 Subject: Add kerl path to zsh completions --- zsh_completion/_kerl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/zsh_completion/_kerl b/zsh_completion/_kerl index e58eb8b..7c9f0d6 100644 --- a/zsh_completion/_kerl +++ b/zsh_completion/_kerl @@ -30,6 +30,10 @@ _kerl_installations() { installations=(${(f)"$(_call_program installations kerl list installations 2>/dev/null | cut -f 2 -d " ")"}) } +_kerl_installnames() { + installnames=(${(f)"$(_call_program installations kerl list installations 2>/dev/null | cut -f 2 -d " " | xargs basename)"}) +} + local -a _1st_arguments _1st_arguments=( 'build:Build specified release or git repository' @@ -39,6 +43,7 @@ _1st_arguments=( 'list:List releases, builds and installations' 'delete:Delete builds and installations' 'active:Print the path of the active installation' + 'path:Print the path of any installation' 'status:Print available builds and installations' 'prompt:Print a string suitable for insertion in prompt' 'cleanup:Remove compilation artifacts (use after installation)' @@ -96,6 +101,15 @@ case "$words[1]" in # TODO: suggest starting location of "$KERLDIR/$(lowercase $build)" _directories ;; + path) + _arguments \ + '1: :->installnames' && return 0 + if [[ "$state" == installnames ]]; then + _kerl_installnames + _wanted installnames expl '' compadd -a installnames + return + fi + ;; deploy) _arguments \ '1: :->hosts' \ -- cgit v1.2.3 From 0daeaa064d20dd3f72d4df6c105deba8e24c4543 Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Sat, 18 Feb 2017 14:37:43 +0100 Subject: Extend bash completion for 'kerl path' --- bash_completion/kerl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bash_completion/kerl b/bash_completion/kerl index 689463d..d620a4d 100644 --- a/bash_completion/kerl +++ b/bash_completion/kerl @@ -12,7 +12,7 @@ _kerl() case $prev in kerl) - COMPREPLY=( $( compgen -W "build install update list delete active status" -- "$cur" ) ) + COMPREPLY=( $( compgen -W "build install update list delete active path status" -- "$cur" ) ) ;; list) COMPREPLY=( $( compgen -W "releases builds installations" -- "$cur" ) ) @@ -42,6 +42,13 @@ _kerl() fi COMPREPLY=( $( compgen -W "$BUILDS" -- "$cur") ) ;; + path) + INSTALL_LIST="$HOME"/.kerl/otp_installations + if [ -f "$INSTALL_LIST" ]; then + NAMES=$(cut -d ' ' -f 2 "$INSTALL_LIST" | xargs basename) + fi + COMPREPLY=( $( compgen -W "$NAMES" -- "$cur") ) + ;; deploy) if [ "$COMP_CWORD" -eq 3 ]; then if [ -f "$HOME"/.kerl/otp_installations ]; then -- cgit v1.2.3 From 9da8b040accb01f529e962a1dbb3eb3479724d5d Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Sat, 18 Feb 2017 14:42:48 +0100 Subject: Use new 'kerl path foo' command to figure out install to delete --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fab0a8c..52423b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,5 +14,5 @@ script: - travis_wait 30 ./kerl build "$_KERL_VSN" "$_KERL_VSN" - ./kerl install "$_KERL_VSN" "install_$_KERL_VSN" - ./kerl status - - ./kerl delete installation $(pwd)/install_"$_KERL_VSN" + - ./kerl delete installation $(kerl path install_$_KERL_VSN) - ./kerl delete build "$_KERL_VSN" -- cgit v1.2.3 From 489af83c8e5908811e3c9566b90e066d8292bffa Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Sat, 18 Feb 2017 15:48:48 +0100 Subject: Use ./kerl not kerl --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 52423b5..7c0211d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,5 +14,5 @@ script: - travis_wait 30 ./kerl build "$_KERL_VSN" "$_KERL_VSN" - ./kerl install "$_KERL_VSN" "install_$_KERL_VSN" - ./kerl status - - ./kerl delete installation $(kerl path install_$_KERL_VSN) + - ./kerl delete installation $(./kerl path install_$_KERL_VSN) - ./kerl delete build "$_KERL_VSN" -- cgit v1.2.3 From 9c476cf51bb962ac22f3062053a17c1babc4238d Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Sat, 18 Feb 2017 15:58:25 +0100 Subject: Try to activate an erlang, test that crypto works and deactivate it --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7c0211d..2692a70 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,5 +14,8 @@ script: - travis_wait 30 ./kerl build "$_KERL_VSN" "$_KERL_VSN" - ./kerl install "$_KERL_VSN" "install_$_KERL_VSN" - ./kerl status + - source $(./kerl path install_$_KERL_VSN)/activate + - erl -s crypto -s init stop + - kerl_deactivate - ./kerl delete installation $(./kerl path install_$_KERL_VSN) - ./kerl delete build "$_KERL_VSN" -- cgit v1.2.3 From b9c594ef04c907162d88e84f6c264fa4fd911536 Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Sat, 18 Feb 2017 16:12:41 +0100 Subject: Disable wx; enable more erlang versions --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2692a70..46e6749 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,9 +5,13 @@ os: env: global: - KERL_BASE_DIR="$TMPDIR"/.kerl - - KERL_CONFIGURE_DISABLE_APPLICATIONS="odbc" + - KERL_CONFIGURE_DISABLE_APPLICATIONS="odbc wx" matrix: - _KERL_VSN=19.2 + - _KERL_VSN=18.3 + - _KERL_VSN=17.5 + - _KERL_VSN=R16B03-1 + - _KERL_VSN=R15B03-1 script: - ./kerl update releases -- cgit v1.2.3 From 4b48504daadfcaa479d6f7bccc93dd2850e610b3 Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Sat, 18 Feb 2017 16:22:58 +0100 Subject: :space_invader: cc @fenollp --- .travis.yml | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.travis.yml b/.travis.yml index 46e6749..bc95b76 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,25 +1,25 @@ os: - - linux - - osx + - linux + - osx env: - global: - - KERL_BASE_DIR="$TMPDIR"/.kerl - - KERL_CONFIGURE_DISABLE_APPLICATIONS="odbc wx" - matrix: - - _KERL_VSN=19.2 - - _KERL_VSN=18.3 - - _KERL_VSN=17.5 - - _KERL_VSN=R16B03-1 - - _KERL_VSN=R15B03-1 + global: + - KERL_BASE_DIR="$TMPDIR"/.kerl + - KERL_CONFIGURE_DISABLE_APPLICATIONS="odbc wx" + matrix: + - _KERL_VSN=19.2 + - _KERL_VSN=18.3 + - _KERL_VSN=17.5 + - _KERL_VSN=R16B03-1 + - _KERL_VSN=R15B03-1 script: - - ./kerl update releases - - travis_wait 30 ./kerl build "$_KERL_VSN" "$_KERL_VSN" - - ./kerl install "$_KERL_VSN" "install_$_KERL_VSN" - - ./kerl status - - source $(./kerl path install_$_KERL_VSN)/activate - - erl -s crypto -s init stop - - kerl_deactivate - - ./kerl delete installation $(./kerl path install_$_KERL_VSN) - - ./kerl delete build "$_KERL_VSN" + - ./kerl update releases + - travis_wait 30 ./kerl build "$_KERL_VSN" "$_KERL_VSN" + - ./kerl install "$_KERL_VSN" "install_$_KERL_VSN" + - ./kerl status + - source $(./kerl path install_$_KERL_VSN)/activate + - erl -s crypto -s init stop + - kerl_deactivate + - ./kerl delete installation $(./kerl path install_$_KERL_VSN) + - ./kerl delete build "$_KERL_VSN" -- cgit v1.2.3 From dd1a0c03599c3a214c7f8f92ae65ac87ec9a7295 Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Sat, 18 Feb 2017 18:50:48 +0100 Subject: Re-add wx - maybe that's the cause of failure? --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bc95b76..7de3443 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ os: env: global: - KERL_BASE_DIR="$TMPDIR"/.kerl - - KERL_CONFIGURE_DISABLE_APPLICATIONS="odbc wx" + - KERL_CONFIGURE_DISABLE_APPLICATIONS="odbc" matrix: - _KERL_VSN=19.2 - _KERL_VSN=18.3 -- cgit v1.2.3 From ca56f8c6bcb956853e3b7cca96581d5d4561156c Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Sat, 18 Feb 2017 22:25:15 +0100 Subject: Disable R15B03-1 for now - it errors on MacOS on Travis for some TBD reason --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7de3443..84e5a87 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,6 @@ env: - _KERL_VSN=18.3 - _KERL_VSN=17.5 - _KERL_VSN=R16B03-1 - - _KERL_VSN=R15B03-1 script: - ./kerl update releases -- cgit v1.2.3 From 969e022b8e432452a47f350e14eb0dfd28d3f3da Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Sun, 19 Feb 2017 11:06:17 +0100 Subject: Bump timeout to 45 Some erlang builds were taking longer than 30 to complete --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 84e5a87..326bbc2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ env: script: - ./kerl update releases - - travis_wait 30 ./kerl build "$_KERL_VSN" "$_KERL_VSN" + - travis_wait 45 ./kerl build "$_KERL_VSN" "$_KERL_VSN" - ./kerl install "$_KERL_VSN" "install_$_KERL_VSN" - ./kerl status - source $(./kerl path install_$_KERL_VSN)/activate -- cgit v1.2.3 From 23acfaba005c2dade4c80ccdb98fd27fab95ea9a Mon Sep 17 00:00:00 2001 From: sanmiguel Date: Mon, 20 Feb 2017 18:06:07 +0100 Subject: Revert the printf/echo change --- kerl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kerl b/kerl index 2ea08e4..d053bd9 100755 --- a/kerl +++ b/kerl @@ -171,7 +171,7 @@ usage() { echo "kerl: build and install Erlang/OTP" echo "usage: $0 [options ...]" - echo "\n Command to be executed\n\n" + printf "\n Command to be executed\n\n" echo "Valid commands are:" echo " build Build specified release or git repository" echo " install Install the specified release at the given location" -- cgit v1.2.3