Closed lloydwatkin closed 10 years ago
Fantastic (yet again). Thank you.
I'll take a look at this soon.
Got this mostly working, except the git push keeps telling me that everything is up to date. Will fiddle with the yml file and see what's happening.
Looks like it was committing to a detached head, so a git checkout master fixed the problem. Thanks again @lloydwatkin
Glad I could be of help. Good luck with the project.
Please check the script as run above to ensure it does what you expect. Above should be easy enough to understand, if not please let me know.
You'll need to encrypt to env variables:
See here for instructions: http://docs.travis-ci.com/user/encryption-keys/. Add details in the 'secure' part (you can add multiple if you wish to separate out details).
Once you are done you'll need to switch on travis testing for this repo (settings -> hooks -> etc).
It will also test pull requests but won't deploy these. It will only go as far as saying yes/no based on the exit code of your python script.