Commit Graph

5 Commits

Author SHA1 Message Date
Albrecht Schlosser
11ed18a52e Add more branches to Travis-CI control file
All branches named like:

 - master
 - branch-1.3
 - feature-*
 - fix-*
 - issue-*
 - str-*

will be built with Travis-CI in the FLTK standard repo and in the
user's and/or developer's forks if they enabled Travis-CI builds.
2019-02-16 12:07:49 +01:00
Albrecht Schlosser
5c18cb84f2 Remove explicit email notifications from .travis.yml
Explicit email addresses don't play well with forks, i.e. the given
mail receivers are *always* notified instead of the author and the
committer. This led to build notifications sent to me instead of Matt
when he committed something in his own fork.

The default rules are much better in this case. The drawback is that
*only* the committer and author get notified and there is obviously
no way to add anybody that gets notified *additionally* to author
and committer.

https://docs.travis-ci.com/user/notifications/#how-is-the-build-email-receiver-determined
2019-02-16 09:16:07 +01:00
Albrecht Schlosser
59612f6e7e Activate travis-ci, update mail notifications.
Note: current mail notifications are configured for first tests.
We may need to reconfigure this later.

See build logs at https://travis-ci.com/fltk/fltk
2018-12-28 22:48:13 +01:00
fab672000
8c44c9a6b1 As requested implement cmake builds and also implement matrix customization to use a static analyzer and also doc gen in only one target to avoid having too many targets 2018-12-27 21:47:23 -06:00
fabien
c361b64096 Travis implementation allowing to build four targets on change of master or a matching pattern of feature/*.
This implementation differs from existing fltk-test and also gitlab implementation :
 - minimum, fast light implementation: stripoped all unused constructions compared to other implementations
 - supports successful builds of four targets (linu, osx and then gcc and clang for each of them)
- uses before_script instead of before_install
- uses after_success for building documentation, instead of building always if error
- only builds documentation on linux targets for now (can easily change if future)
2018-12-26 16:19:25 -06:00