This PR sets up auto Travis-ci builds of our project (after some setup in travis-ci.org), currently testing on timvaillancourt fork only.
The end result of the new .travis.yml and few docker-compose+bash scripts is Travis-ci will now build our project and full-integration test it against various versions of MongoDB in both cluster and replset mode on each commit (!). This could also run unit tests if we had any 😄 (maybe later).
Full changes:
Added .travis.yml to setup Travis-Ci.
Add 'make flake8' step to run flake8 code-quality checks (will be added to be build after I do a sweep of existing failures).
Make Dockerfile build only the new binary if the other intermediate containers aren't changed.
Add Travis-ci build status and latest-release badge to README.
Added 'google_compute_engine' to requirements.txt, this causes failures on any Google Cloud Engine host (and Travis-ci runs on GCE only).
Docker-compose and bash wrapper-scripts (run-cluster.sh and run-replset.sh) in scripts/travis-ci to allow Travis-CI to spawn replsets or clusters to integration-test our code on.
Current tests:
PSMDB 3.4 Cluster w/CSRS configsvrs
PSMDB 3.4 Replset
PSMDB 3.2 Cluster w/CSRS configsvrs
PSMDB 3.2 Replset
PSMDB 3.2 Replset + No Archiving
PSMDB 3.2 Replset + ZBackup Archiving
PSMDB 3.0 Replset
Coming Soon:
flake8 build step (after cleanup)
PSMDB 3.0 Cluster w/SCCC configsvrs (test broken right now)
This PR sets up auto Travis-ci builds of our project (after some setup in travis-ci.org), currently testing on timvaillancourt fork only.
The end result of the new .travis.yml and few docker-compose+bash scripts is Travis-ci will now build our project and full-integration test it against various versions of MongoDB in both cluster and replset mode on each commit (!). This could also run unit tests if we had any 😄 (maybe later).
Full changes:
Current tests:
Coming Soon: