inpycon2017
inpycon2017 copied to clipboard
Adds config for Travis CI
- Adds a config file for Travis CI for automated testing
- For Deployment : Details needed mentioned in https://docs.travis-ci.com/user/deployment
@CuriousLearner Done reverting changes from my fork of master
branch. This branch is clean now.
Will wait for @theskumar for review on this.
This would be on hold till he comes back!
Fix #60
In order to prevent multiple PRs for same issues ;)
@theskumar Can you please review this?
As said by @SanketDG the build.py would need to updated to support both the reload mode and without it, so it's able to just build and generate the files in non-interactive mode.
Once that is done, there are multiple ways to test the website (automated / manually), let's ignore that fact for now, and I won't go too deep into it. If somebody able to pull-off some test setup say using selenium/phantomjs, very wonder full.
For now the workflow should be:
- Pull-request is created. Do manually review.
- Code gets merged to
master
and code frommaster
branch gets available at https://pythonindia.github.io/inpycon2017/ - There will be a
prod
branch, which will updated oncemaster
from master, only aftermaster
looks good. - Whenever code is pushed to
prod
branch, it will automatically get deployed to server via ssh authentication.
Summarising, the immediate requirement is that if a code is pushed to prod
branch is should get deployed live automatically.