From cbf76d33b2f436bc33ebb0eae9ed0cb6d18acfcb Mon Sep 17 00:00:00 2001 From: Trevor Brown Date: Tue, 16 Feb 2021 11:29:49 -0500 Subject: [PATCH] Try to fix Erlang version code in build (#187) * Try to fix Erlang version code in build * Wait up to 40 minutes before terminating the Travis build --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index dab18fe..55a0029 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: c -script: travis_wait asdf plugin-test erlang . --asdf-plugin-gitref $TRAVIS_COMMIT erl -eval '{ok, Version} = file:read_file(filename:join([code:root_dir(), "releases", erlang:system_info(otp_release), "OTP_VERSION"])), io:fwrite(Version), halt().' -noshell +script: |- + travis_wait 40 asdf plugin-test erlang . --asdf-plugin-gitref $TRAVIS_COMMIT erl -eval '{ok, Version} = file:read_file(filename:join([code:root_dir(), "releases", erlang:system_info(otp_release), "OTP_VERSION"])), io:fwrite(re:replace(Version, "(^\\s+)|(\\s+$)", "", [global,{return,list}])), halt().' -noshell before_script: - git clone https://github.com/asdf-vm/asdf.git - . asdf/asdf.sh