[GRASS-dev] [GRASS GIS] #2733: Add travis-ci automated testing for OS X to existing Linux testing

#2733: Add travis-ci automated testing for OS X to existing Linux testing
-------------------------+-------------------------
Reporter: rkrug | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Default | Version: svn-trunk
Keywords: | CPU: Unspecified
Platform: All |
-------------------------+-------------------------
This patch adds support for testing of grass head branch for OS X on
travis-ci.

Continuous integreation (see [https://github.com/GRASS-GIS/grass-ci\] and
[https://travis-ci.org/GRASS-GIS/grass-ci\]) was only done for Linux.

With this patch, tests are also done for OS X using homebrew.

The tests are running (see [https://travis-ci.org/rkrug/grass-ci\]).

In addition to applying this patch, the multiplatform support needs to be
enabled for travis-ci which has to be done by mailing travis-ci support.

Effectively, I have done the following:

1) moved the linux test section into separate script files
2) created equivalent ones for OS X
3) changed the .travis.yml file to call the scripts depending on the OS
running

At the moment only installation is tested, but adding support for tests is
trivial, but details questions concerning which tests, if the results can
be uploaded, ... need to be decided.

The same can done for other branches as well.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2733&gt;
GRASS GIS <https://grass.osgeo.org>

#2733: Add travis-ci automated testing for OS X to existing Linux testing
--------------------------+-------------------------
  Reporter: rkrug | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone:
Component: Default | Version: svn-trunk
Resolution: | Keywords:
       CPU: Unspecified | Platform: All
--------------------------+-------------------------
Changes (by rkrug):

* Attachment "patch_add_OSX_testing_travis-ci.diff" added.

Patch for adding travis-ci support for OS X

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2733&gt;
GRASS GIS <https://grass.osgeo.org>

#2733: Add travis-ci automated testing for OS X to existing Linux testing
--------------------------+-------------------------
  Reporter: rkrug | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.2.4
Component: Default | Version: svn-trunk
Resolution: | Keywords:
       CPU: Unspecified | Platform: All
--------------------------+-------------------------

Comment (by neteler):

Is the current Travis CI for Mac this one:

https://travis-ci.org/GRASS-GIS/homebrew-grass-dev

?

That currently fails on g.extension.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2733#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#2733: Add travis-ci automated testing for OS X to existing Linux testing
--------------------------+-------------------------
  Reporter: rkrug | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.6.2
Component: Tests | Version: svn-trunk
Resolution: | Keywords: travis
       CPU: Unspecified | Platform: All
--------------------------+-------------------------
Changes (by neteler):

* keywords: => travis
* component: Default => Tests
* milestone: 7.2.4 => 7.6.2

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2733#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>