Changes between Version 11 and Version 12 of TravisCoverals


Ignore:
Timestamp:
Mar 11, 2017, 7:29:20 AM (6 years ago)
Author:
Antony Polukhin
Comment:

Add Appveyor info

Legend:

Unmodified
Added
Removed
Modified
  • TravisCoverals

    v11 v12  
    11== Travis and Coveralls integration ==
    22
    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
     5We'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].
    66
    77Travis requires some access permissions to the repository that are usually provided by Boostorg Admins. However bothering Admins is actually not required:
     
    2020* log into [https://coveralls.io/ Coverals].
    2121* 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:
    2426{{{
    2527git checkout develop                                         # We'll be applying all the changes to the develop branch
    2628cp ../variant/.travis.yml ./                                 # Copying .travis.yml from Boost.Variant
     29cp ../variant/test/appveyor.yml ./test/                      # Copying appveyor.yml from Boost.Variant
    2730sed -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
     31sed -i 's/variant/lexical_cast/g' test/appveyor.yml          # Reseting library to ignore
     32git add .travis.yml test/appveyor.yml                        # Adding .travis.yml and test/appveyor.yml for next commit
    2933
    3034cp ../variant/README.md ./                                   # Copying README.md from Boost.Variant