inpycon2017 icon indicating copy to clipboard operation
inpycon2017 copied to clipboard

Adds config for Travis CI

Open ashwamegh opened this issue 7 years ago • 5 comments

  • Adds a config file for Travis CI for automated testing
  • For Deployment : Details needed mentioned in https://docs.travis-ci.com/user/deployment

ashwamegh avatar Jul 16 '17 17:07 ashwamegh

@CuriousLearner Done reverting changes from my fork of master branch. This branch is clean now.

ashwamegh avatar Jul 18 '17 07:07 ashwamegh

Will wait for @theskumar for review on this.

This would be on hold till he comes back!

CuriousLearner avatar Jul 18 '17 07:07 CuriousLearner

Fix #60

In order to prevent multiple PRs for same issues ;)

shivakrishna9 avatar Jul 18 '17 11:07 shivakrishna9

@theskumar Can you please review this?

CuriousLearner avatar Aug 01 '17 06:08 CuriousLearner

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:

  1. Pull-request is created. Do manually review.
  2. Code gets merged to master and code from master branch gets available at https://pythonindia.github.io/inpycon2017/
  3. There will be a prod branch, which will updated once master from master, only after master looks good.
  4. 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.

theskumar avatar Aug 03 '17 14:08 theskumar