1.2 KiB
1.2 KiB
Travis-CI Scripts for EPICS Modules
Features
- Compile against different branches or releases of EPICS Base
- Use different versions of compilers (gcc, clang)
- Cross-compile for Windows 32bit using MinGW and WINE
- Cross-compile for RTEMS 4.9 and 4.10
- Compile on MacOS
How to Use these Scripts
-
Get an account on Travis-CI, connect it to your GitHub account and activate your support module's repository. For more details, please refer to the Travis-CI Tutorial. Make sure to use
travis-ci.organd not their.comsite. -
In your Support Module, add this respository as a Git Submodule (name suggestion:
.ci).$ git submodule add https://github.com/epics-base/ci-scripts .ci -
Create a Travis configuration by copying one of the examples into the root directory of your module.
$ cp .ci/travis/.travis.yml.example-full .travis.yml -
Edit the
.travis.ymlconfiguration to include the jobs you want Travis to run. -
Push your changes and check travis-ci.org for your build results.