Opened 9 years ago

Last modified 5 years ago

#2733 new enhancement

Add travis-ci automated testing for OS X to existing Linux testing

Reported by: rkrug Owned by: grass-dev@…
Priority: normal Milestone: 7.6.2
Component: Tests Version: svn-trunk
Keywords: travis Cc:
CPU: Unspecified Platform: All

Description

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.

Attachments (1)

patch_add_OSX_testing_travis-ci.diff (10.8 KB ) - added by rkrug 9 years ago.
Patch for adding travis-ci support for OS X

Download all attachments as: .zip

Change History (4)

by rkrug, 9 years ago

Patch for adding travis-ci support for OS X

comment:1 by martinl, 6 years ago

Milestone: 7.2.4

comment:2 by neteler, 5 years ago

Is the current Travis CI for Mac this one:

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

?

That currently fails on g.extension.

comment:3 by neteler, 5 years ago

Component: DefaultTests
Keywords: travis added
Milestone: 7.2.47.6.2
Note: See TracTickets for help on using tickets.