Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions lib/travis/build/script.rb
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,13 @@ def error_message_ary(exception, event)

def show_compile_error_msg(exception, event)
puts "Exception Occurred when trying to compile #{exception.class}. Message: #{exception.message}. Backtrace: \n #{exception.backtrace.join("\n")}"

# For debugging workspaces
data_dump_file = "/tmp/debug_data_dump_#{Time.now.to_i}.txt"
File.open(data_dump_file, 'w') do |file|
file.write(data.inspect)
end

@sh = Shell::Builder.new
error_message_ary(exception, event).each { |line| sh.raw "echo -e \"\033[31;1m#{line}\033[0m\"" }
sh.raw "exit 2"
Expand Down
13 changes: 7 additions & 6 deletions public/version-aliases/ghc.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@
"9.0.1-alpha1": "9.0.1-alpha1",
"9.0": "9.0.2",
"9.0.1": "9.0.1",
"9": "9.8.1",
"9.x": "9.8.1",
"9.x.x": "9.8.1",
"9": "9.8.2",
"9.x": "9.8.2",
"9.x.x": "9.8.2",
"9.0.x": "9.0.2",
"9.0.2": "9.0.2",
"9.2.1-alpha1": "9.2.1-alpha1",
Expand Down Expand Up @@ -210,8 +210,8 @@
"9.6.3": "9.6.3",
"9.6.4": "9.6.4",
"9.8.0.20230727": "9.8.0.20230727",
"9.8.x": "9.8.1",
"9.8": "9.8.1",
"9.8.x": "9.8.2",
"9.8": "9.8.2",
"9.8.0.20230809": "9.8.0.20230809",
"9.8.0.20230822": "9.8.0.20230822",
"9.8.0.20230919": "9.8.0.20230919",
Expand All @@ -220,5 +220,6 @@
"9.8.1-alpha2": "9.8.1-alpha2",
"9.8.1-alpha3": "9.8.1-alpha3",
"9.8.1-alpha4": "9.8.1-alpha4",
"9.8.1": "9.8.1"
"9.8.1": "9.8.1",
"9.8.2": "9.8.2"
}