This repo has been set up as a resource for automated testing of QGIS plugins.
Test script can be run from your QGIS Python Consule, by calling run_tests()
Thanks to Boundless QGIS Testing Environment, testing inside a real QGIS session via a docker container is now possible!
The .travis.yml
file in this repo customizes the steps for the testing environment and tells Travis what to do. All the steps are well documented in the Travis CI documentation, and all thats needed to trigger a new build is to add .travis.yml, commit and push to the remote repo. In this example, builds only get triggered on commits on master branch.
- The .travis.yml file is read from the root of the repository
- Travis only runs builds on the commits you push after you’ve enabled the repository in Travis CI.