Migrate from Travis CI to GitHub Actions

This commit is contained in:
Andrew Shu 2021-08-12 18:18:20 -07:00
parent 4b69ab232f
commit ca1802758f
8 changed files with 50 additions and 20 deletions

View file

@ -708,8 +708,8 @@ class Site < Sequel::Model
return false unless valid_file_mime_type_and_ext?(mime_type, extname)
# clamdscan doesn't work on travis for testing
return true if ENV['TRAVIS'] == 'true'
# clamdscan doesn't work on continuous integration for testing
return true if ENV['CI'] == 'true'
File.chmod 0666, uploaded_file[:tempfile].path
line = Terrapin::CommandLine.new(