travis sync issue to git with django project

32 views
Skip to first unread message

John McClain

unread,
Mar 28, 2020, 6:25:38 PM3/28/20
to django...@googlegroups.com
My build keeps failing at this juncture

0.00s$ SECRET_KEY="whatever" ./manage.py test
273/home/travis/.travis/functions: line 109: ./manage.py: Permission denied
274The command "SECRET_KEY="whatever" ./manage.py test" exited with 126.




any ideas?


--


John McClain

Cell: 085-1977-823
Skype: jmcclain0129

Jorge Gimeno

unread,
Mar 29, 2020, 11:58:21 AM3/29/20
to django...@googlegroups.com
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAN-hv_ozmpT5qVuDJpkZcmcSyR4UCm8khgt5xr3eEkEDzsPKww%40mail.gmail.com.

Are you setting the secret key as an enviroment variable?  If so, then I'd try:

export SECRET_KEY="whatever"
./manage.py test

-Jorge

Kasper Laudrup

unread,
Mar 29, 2020, 12:04:26 PM3/29/20
to django...@googlegroups.com
Hi John,

On 28/03/2020 23.24, John McClain wrote:
> My build keeps failing at this juncture
>
> 0.00s$ SECRET_KEY="whatever" ./manage.py test
> 273/home/travis/.travis/functions: line 109: ./manage.py: Permission denied
> 274The command "SECRET_KEY="whatever" ./manage.py test" exited with 126.
>
> any ideas?
>

Does manage.py have the execute bit set?

Alternatively, try to run manage.py through the interpreter.

No idea how to integrate that with travis though, but I'm sure there's
some documentation available.

Kind regards,

Kasper Laudrup
Reply all
Reply to author
Forward
0 new messages