Skip to content

Conversation

@maelvls
Copy link
Contributor

@maelvls maelvls commented Apr 26, 2016

I thought it would be a great idea to have the test running from a
"neutral entity" instead of having to checkout the pull request and

cd libs/graph/test && ../../../b2

I saw that many other boostorg submodules had their own CI system:

  • compute relies on travis-ci
  • geometry uses circleci

The major difference between circleci and travis-ci is the multi-threading supported by circleci. Both are free for open-source project (as of 2016/04/26). I chose travis-ci because I know how to configure it.

As for geometry, we could also use coveralls.io to display the test covering reports and improve the quality/coverage of tests on boostorg/graph.

IMPORTANT: a member of boostorg will have to add the repo boostorg/graph into travis-ci for it to work.

I tested this file against my fork. Here is the travis-ci part. It works great!

The only slight issue is that it takes ~10min to build and test, but it's totally fine.

Here is what displays when opening a PR:

capture d ecran 2016-05-03 a 10 36 16
capture d ecran 2016-05-03 a 11 04 55

@maelvls maelvls changed the title Add travis-ci as CI for the boostorg/graph module May 3, 2016
@maelvls maelvls mentioned this pull request May 4, 2016
@maelvls maelvls force-pushed the add-continuous-integration branch 3 times, most recently from 0e1b6ec to ca0814d Compare May 13, 2016 16:56
maelvls added 3 commits May 14, 2016 16:42
I thought it would be a great idea to have the test running from a
"neutral entity" instead of having to checkout the pull request and
cd libs/graph/test && ../../../b2

I saw that many other boostorg submodules had their own CI system:
- compute relies on travis-ci
- geometry uses circleci

The major difference between circleci and travis-ci is the multi-threading supported by circleci. Both are free for open-source project (as of 2016/04/26). I chose travis-ci because I know how to configure it.

As for geometry, we could also use coveralls.io to display the test covering reports and improve the quality/coverage of tests on boostorg/graph.

IMPORTANT: a member of boostorg will have to add the repo boostorg/graph into travis-ci for it to work.
@maelvls maelvls force-pushed the add-continuous-integration branch from ca0814d to 600398c Compare May 14, 2016 14:42
@murraycu
Copy link
Contributor

I don't see a downside to this.

@Belcourt Belcourt merged commit f3b89e9 into boostorg:develop Oct 31, 2016
Belcourt pushed a commit that referenced this pull request Nov 3, 2016
)

* Add travis-ci as CI for boostorg/graph repo.

I thought it would be a great idea to have the test running from a
"neutral entity" instead of having to checkout the pull request and
cd libs/graph/test && ../../../b2

I saw that many other boostorg submodules had their own CI system:
- compute relies on travis-ci
- geometry uses circleci

The major difference between circleci and travis-ci is the multi-threading supported by circleci. Both are free for open-source project (as of 2016/04/26). I chose travis-ci because I know how to configure it.

As for geometry, we could also use coveralls.io to display the test covering reports and improve the quality/coverage of tests on boostorg/graph.

IMPORTANT: a member of boostorg will have to add the repo boostorg/graph into travis-ci for it to work.

* csr_graph_test won't pass unless -std=c++11 is enabled

* Fixed gcc too old (4.6.3) using instead gcc-4.8 for -std=c++11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants