A
A
Alexey Yarkov2017-08-06 20:56:10
JavaScript
Alexey Yarkov, 2017-08-06 20:56:10

Configs and Travis.org. How to share?

We have an API server on Node.js . The password reset feature uses the Sendgrid API to send mail.
There is no key in .env.example, respectively. It is added manually to the .env file after the project is installed.
Accordingly, all tests work locally for me, and when building a build on Travis.org, one single test fails - sending mail *rukalitsa*
Well, why not check for the environment because of one test?
Question: how to transfer the config to Travis.org bypassing the repository?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Yarkov, 2017-08-06
@yarkov

This is solved with travis-cli

A
Alexander Aksentiev, 2017-08-06
@Sanasol

https://mailtrap.io/
maybe like this?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question