Skip to content

Commit

Permalink
Try to fix Erlang version code in build (#187)
Browse files Browse the repository at this point in the history
* Try to fix Erlang version code in build
* Wait up to 40 minutes before terminating the Travis build
  • Loading branch information
Stratus3D authored Feb 16, 2021
1 parent 3adcf33 commit cbf76d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit cbf76d3

Please sign in to comment.