HOWTO: Integrating Gauge with CircleCI¶
CircleCI is a cloud hosted, continuous integration and delivery platform.
Configure gauge as a dependency in circle.yml and add xml report
plugin to your gauge project.
Linux¶
dependencies:
pre:
- sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-keys 023EDB0B
- echo deb https://dl.bintray.com/gauge/gauge-deb stable main | sudo tee -a /etc/apt/sources.list
- sudo apt-get update
- sudo apt-get install gauge
Running tests and publishing reports¶
Configure circle.yml to run tests in the specs folder and publish junit results.
test:
post:
- gauge install
- gauge run specs
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- cp ./reports/xml-report/result.xml $CIRCLE_TEST_REPORTS/junit/