Skip to content

Commit ab9f0cb

Browse files
authored
Remove some old references to Travis (#1114)
We no longer use Travis anywhere, let's remove dead codepaths.
1 parent 0c05527 commit ab9f0cb

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

src/AutoBuild.jl

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -639,20 +639,6 @@ function autobuild(dir::AbstractString,
639639
kwargs...)
640640
@nospecialize
641641

642-
# If we're on CI and we're not verbose, schedule a task to output a "." every few seconds.
643-
# Exclude GitHub Actions, it wouldn't time out
644-
if (haskey(ENV, "TRAVIS") || (haskey(ENV, "CI") && !haskey(ENV, "GITHUB_ACTIONS"))) && !verbose
645-
run_travis_busytask = true
646-
travis_busytask = @async begin
647-
# Don't let Travis think we're asleep...
648-
@info("Brewing a pot of coffee for Travis...")
649-
while run_travis_busytask
650-
sleep(4)
651-
print(".")
652-
end
653-
end
654-
end
655-
656642
# This is what we'll eventually return
657643
@info("Building for $(join(triplet.(platforms), ", "))")
658644
build_output_meta = Dict()
@@ -870,12 +856,6 @@ function autobuild(dir::AbstractString,
870856
end
871857
end
872858

873-
if (haskey(ENV, "TRAVIS") || (haskey(ENV, "CI") && !haskey(ENV, "GITHUB_ACTIONS"))) && !verbose
874-
run_travis_busytask = false
875-
wait(travis_busytask)
876-
println()
877-
end
878-
879859
# Return our product hashes
880860
return build_output_meta
881861
end

src/wizard/state.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ necessary. It also holds all necessary metadata such as input/output streams.
5757
name::Union{Nothing, String} = nothing
5858
version::Union{Nothing, VersionNumber} = nothing
5959
github_api::GitHub.GitHubAPI = GitHub.DEFAULT_API
60-
travis_endpoint::String = "https://api.travis-ci.org/"
6160
end
6261

6362
function serializeable_fields(::WizardState)

0 commit comments

Comments
 (0)