Opened 9 years ago
Last modified 6 years ago
#2733 new enhancement
Add travis-ci automated testing for OS X to existing Linux testing
Reported by: | rkrug | Owned by: | |
---|---|---|---|
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)
Change History (4)
by , 9 years ago
Attachment: | patch_add_OSX_testing_travis-ci.diff added |
---|
comment:1 by , 7 years ago
Milestone: | → 7.2.4 |
---|
comment:2 by , 6 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 , 6 years ago
Component: | Default → Tests |
---|---|
Keywords: | travis added |
Milestone: | 7.2.4 → 7.6.2 |
Patch for adding travis-ci support for OS X