Changes between Version 11 and Version 12 of TravisCoverals
- Timestamp:
- Mar 11, 2017, 7:29:20 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TravisCoverals
v11 v12 1 1 == Travis and Coveralls integration == 2 2 3 === Travis and Coveralls Setup ===4 5 We'll be adding TravisCI and Coveralls integration to a Boost library. Let's take a Boost.LexicalCast as an example. At the end we'll get [https://github.com/boostorg/variant#test-results the following].3 === Travis, Appveyor and Coveralls Setup === 4 5 We'll be adding TravisCI, Appveyor and Coveralls integration to a Boost library. Let's take a Boost.LexicalCast as an example. At the end we'll get [https://github.com/boostorg/variant#test-results the following]. 6 6 7 7 Travis requires some access permissions to the repository that are usually provided by Boostorg Admins. However bothering Admins is actually not required: … … 20 20 * log into [https://coveralls.io/ Coverals]. 21 21 * go to the [https://coveralls.io/repos/new] and add a forked repo. 22 23 * now add the `.travis.yml` file, tune the `README.md` and commit changes: 22 * go to [https://www.appveyor.com/ Appveyor] 23 * go to [https://ci.appveyor.com/projects/new] and enable builds for the forked project. 24 25 * now add the `.travis.yml` and `appveyor.yml` files, tune the `README.md` and commit changes: 24 26 {{{ 25 27 git checkout develop # We'll be applying all the changes to the develop branch 26 28 cp ../variant/.travis.yml ./ # Copying .travis.yml from Boost.Variant 29 cp ../variant/test/appveyor.yml ./test/ # Copying appveyor.yml from Boost.Variant 27 30 sed -i 's/IGNORE_COVERAGE=.*/IGNORE_COVERAGE=/g' .travis.yml # Reseting files to ignore in coverage tests report 28 git add .travis.yml # Adding .travis.yml for next commit 31 sed -i 's/variant/lexical_cast/g' test/appveyor.yml # Reseting library to ignore 32 git add .travis.yml test/appveyor.yml # Adding .travis.yml and test/appveyor.yml for next commit 29 33 30 34 cp ../variant/README.md ./ # Copying README.md from Boost.Variant