# Package testing with encrypted data; any free services that work like Travis-CI?

**URL:** <https://discourse.julialang.org/t/package-testing-with-encrypted-data-any-free-services-that-work-like-travis-ci/68011>\
**Category:** Package Management\
**Tags:** question, package, testing\
**Created:** [September 10, 2021, 10:06pm UTC](https://discourse.julialang.org/t/package-testing-with-encrypted-data-any-free-services-that-work-like-travis-ci/68011 "2021-09-10T22:06:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshua\_jones](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joshua_jones/32/7554_2.png) [@joshua\_jones](https://discourse.julialang.org/u/joshua_jones)\
**Post date:** [September 10, 2021, 10:06pm UTC](https://discourse.julialang.org/t/package-testing-with-encrypted-data-any-free-services-that-work-like-travis-ci/68011/1 "2021-09-10T22:06:49Z")

</div>

Long topic line summarizes everything but here are details.

To make a long story short, I need a way to test SeisIO.jl that supports encrypted test files. Travis-CI does this, but also started charging $70/month in June. SeisIO supports several data formats with redistribution restrictions, so I need some data to be accessible only during testing. Travis-CI simply used an encrypted tarball. That worked.

Are there any reliable CI services that are free, support testing in Linux environments, and have well-documented ways to handle such private data? Is there a different preferred method for testing Julia packages in a clean environment? I’m not even sure where to find information on what everyone is using for their package tests these days – it’s been 2 years since I had to make such fundamental changes to how I test, so I’m a bit behind, as you can imagine.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![stillyslalom](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stillyslalom/32/45687_2.png) [@stillyslalom](https://discourse.julialang.org/u/stillyslalom)\
**Post date:** [September 10, 2021, 10:34pm UTC](https://discourse.julialang.org/t/package-testing-with-encrypted-data-any-free-services-that-work-like-travis-ci/68011/2 "2021-09-10T22:34:45Z")

</div>

Most packages have moved to GitHub Actions, which offers free cross-platform testing. The easiest way to set it up may be creating a mock package for SeisIO using PkgTemplates.jl with the [`GitHubActions`](https://invenia.github.io/PkgTemplates.jl/dev/user/#PkgTemplates.GitHubActions) CI settings, then copying CI.yml from the mock directory into your package directory. You should be able to add your encryption key as an [encrypted secret](https://docs.github.com/en/actions/reference/encrypted-secrets) that can be accessed as an environment variable within the CI job.
