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 (limited to '.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(+) (limited to '.travis.yml') 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(-) (limited to '.travis.yml') 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(-) (limited to '.travis.yml') 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(-) (limited to '.travis.yml') 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(-) (limited to '.travis.yml') 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(-) (limited to '.travis.yml') 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(-) (limited to '.travis.yml') 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 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(-) (limited to '.travis.yml') 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(-) (limited to '.travis.yml') 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(+) (limited to '.travis.yml') 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(-) (limited to '.travis.yml') 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(-) (limited to '.travis.yml') 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(-) (limited to '.travis.yml') 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(-) (limited to '.travis.yml') 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(-) (limited to '.travis.yml') 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