Skip to content

Commit

Permalink
Remove references to Travis CI (#722)
Browse files Browse the repository at this point in the history
Travis CI removed support for Crystal images and is no
longer part of shards init, and can be safely removed from
the generators.
  • Loading branch information
robcole authored Jan 3, 2022
1 parent b215ac3 commit 45f3529
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 34 deletions.
1 change: 0 additions & 1 deletion spec/integration/init_web_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ describe "Initializing a new web project" do
File.delete("test-project/.env")
compile_and_run_specs_on_test_project
File.read("test-project/Procfile").should contain "test_project"
File.read("test-project/.travis.yml").should contain "postgresql"
File.read(".github/workflows/ci.yml").should contain "postgres"
File.read("test-project/public/mix-manifest.json").should contain "images/cat.gif"
File.exists?("test-project/public/favicon.ico").should eq true
Expand Down
5 changes: 0 additions & 5 deletions src/generators/web.cr
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class LuckyCli::Generators::Web
ensure_directory_does_not_exist
generate_default_crystal_project
add_deps_to_shard_file
remove_generated_travis_file
remove_generated_src_files
remove_generated_spec_files
remove_default_readme
Expand Down Expand Up @@ -109,10 +108,6 @@ class LuckyCli::Generators::Web
remove_default_generated_if_exists("src")
end

private def remove_generated_travis_file
remove_default_generated_if_exists(".travis.yml")
end

private def remove_generated_spec_files
remove_default_generated_if_exists("spec")
end
Expand Down
28 changes: 0 additions & 28 deletions src/web_app_skeleton/.travis.yml.ecr

This file was deleted.

0 comments on commit 45f3529

Please sign in to comment.