Error with file-encryption

Build error: https://travis-ci.com/goffstown-sports-app/Scrape-Calendar-Data/jobs/221451019

Github Repo for code: https://github.com/goffstown-sports-app/Scrape-Calendar-Data/tree/test-database

What am I doing wrong?

There are no variables encrypted_2f5e3e66b395_key or encrypted_2f5e3e66b395_iv in your configuration.

Add them to .travis.yml or repository settings in Travis UI according to https://docs.travis-ci.com/user/environment-variables/.

What should the values be for those variables? How do I get them?

This looks like the confusion with .org and .com. You set up the file encryption against .org (the default) and it works there https://travis-ci.org/goffstown-sports-app/Scrape-Calendar-Data/jobs/566269554#L166-L170. However, you are looking at .com now, which requires a new set of env vars.

I suggest:

  1. Setting up file encryption against .com (with travis encrypt-file --pro …)
  2. Disable builds on .org, and migrate data to .com if you haven’t done so already.
1 Like

How do I disable builds on .org?

You can disable them on your account page: https://travis-ci.org/account by clicking the toggle beside them.

You’ll be able to migrate your repositories to travis-ci.com by clicking the “Sign up for the beta” button on the same page.

Hope this helps!

1 Like