Build with Travis without an actual code build possible?

Getting the following error

No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/home/travis/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
/home/travis/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'
/home/travis/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'
(See full trace by running task with --trace)
The command "rake" exited with 1.

I don’t need to do anything in any language. Just upload the code to S3. So is there a way to not run an actual build and have this work, then it being pushed to EC2.

here’s my yaml configuration

deploy:
  provider: s3
  access_key_id: myaccesskey
  secret_access_key:
    secure: myverylongsecurysecretkey
  bucket: searchlist.org
  acl: public_read
  on:
    repo: myuser/myrepo

Thank you

For historical reasons, Travis assumes your build is a Ruby app/lib. If your repo requires something else, you need to override those conditionals.

Either:

language: generic # a no frills build

or:

install: skip
script: skip
1 Like