On Mon, Feb 5, 2018 at 12:23 PM, Andy <kakulu...@gmail.com> wrote:

> Which line number are you referring to?
> i didnt notice missing  vars.
>

got secret from environment variable (SECOND_SECRET)
E
Use these lines to initialize your secrets ..
export SECRET_KEY="travis"
E

...

======================================================================
ERROR: test_export (django_secrets.tests.SecretTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/kakulukia/django-secrets/django_secrets/tests.py",
line 32, in test_export
    command.handle()
  File 
"/home/travis/build/kakulukia/django-secrets/django_secrets/management/commands/export_secrets.py",
line 15, in handle
    print('export %s="%s"' % (key, getattr(secrets, key)))
AttributeError: 'module' object has no attribute 'SECOND_SECRET'




>
>
> Am Montag, 5. Februar 2018 15:50:14 UTC+1 schrieb Matemática A3K:
>>
>>
>>
>> On Thu, Feb 1, 2018 at 9:58 AM, Andy <kaku...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> im trying to convince Travis to test my app:
>>> https://github.com/kakulukia/django-secrets
>>>
>>> But its failing for all python3 versions. Because my system python 3 is
>>> 3.6.4 i just installed pyenv, created a 3.6.3 (latest python 3.6 at Travis)
>>> virtualenv and ran the tests. On my local system they are working, but
>>> travis reports problems and i dont really know how to fix them when the
>>> tests are not failing locally.
>>>
>>> Does sombody have a clue, whats wrong here?
>>>
>>> Weird evough: now that i pushed a new commit (not relating python code
>>> though) two confgigurations do pass the tests:
>>> https://travis-ci.org/kakulukia/django-secrets/
>>>
>>
>> This is more like a Travis problem, according the log, the env vars are
>> not being picked by it:
>> https://travis-ci.org/kakulukia/django-secrets/jobs/336123060
>>
>>
>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users...@googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/django-users/01cb4387-5ad1-4d24-9ae4-42a2b83c7ab1%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/01cb4387-5ad1-4d24-9ae4-42a2b83c7ab1%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/08261ca0-c0dd-4d70-9ce1-e8cb2e401059%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/08261ca0-c0dd-4d70-9ce1-e8cb2e401059%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BFDnhJ4iHGEeQBMtFX42PEgoamH1tu%2B54KD3o6Faa1BfbRksw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to