I would like to run a python
script during Travis
build to generate also a signed APK
. I have made and placed all the necessary files, but got an error in Travis
.
python: can't open file '/scripts/travis_upload_release_to_github.py': [Errno 2] No such file or directory
I tried also with sudo
and copied scripts
folder from root to android based project, because I build libGDX
. python2.7
is installed. Where should this folder placed to execute during this process successfully?
Your Travis build is looking for the scripts directory in the root directory "/" of the build machine's file system. Is the scripts directory in your repository or on the build machine? Have you tried removing the first / from the call to your python script, changing /scripts/...py to scripts/...py?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.