# # Travis CI configuration notes # ----------------------------- # # * HelenOS is always built for all architectures # * that is done using matrix environmental variables # * the list of architectures has to be kept manually in sync with # HelenOS.config # * the actual architecture is specified via H_ARCH variable # # * ported software is built when H_HARBOURS is set to true for given # configuration # * building ported software takes a lot of time, it is thus impossible # to build for all architectures # * some ports are known to fail for certain architectures: because that # would make the whole build failing, we currently build only for ia32 # that seems to be in the best condition with respect to ported software # * list of harbours is also maintained manually, look for a variable # H_DEFAULT_HARBOURS_LIST to allow overriding from within this file # # * since the setup is rather complicated we use a dedicated shell script to # run the actual build process and installation of the cross-compiler # toolchain # # * if you have enabled Travis in your feature branch you may want to change # some of the settings to better suite your needs # * reduce number of built architectures (probably not needed) # * built ported software for a different architecture # * specify H_HARBOURS=true # * optionally specify H_HARBOUR_LIST="..." to a list of harbours to be # built # * optionally specify H_HARBOURS_REPOSITORY="..." to point to your repo # with HARBOUR files # language: c dist: xenial sudo: required env: global: - CROSS_PREFIX=/usr/local/cross matrix: - H_CCHECK=true - H_ARCH=amd64 - H_ARCH=arm32/beagleboardxm - H_ARCH=arm32/beaglebone - H_ARCH=arm32/gta02 - H_ARCH=arm32/integratorcp - H_ARCH=arm32/raspberrypi - H_ARCH=arm64/virt - H_ARCH=ia32 H_HARBOURS=true H_HARBOUR_LIST="fdlibm zlib binutils" - H_ARCH=ia64/i460GX - H_ARCH=ia64/ski - H_ARCH=mips32/malta-be - H_ARCH=mips32/malta-le - H_ARCH=mips32/msim - H_ARCH=ppc32 - H_ARCH=sparc64/niagara - H_ARCH=sparc64/ultra before_install: - sudo apt-get update -qq - sudo apt-get install -qq genisoimage - sudo apt-get install -qq python3-pip - sudo apt-get install -qq python3-setuptools - pip3 install ninja - pip3 install --force-reinstall meson==0.50.1 - ./tools/travis.sh install script: - ./tools/travis.sh run os: - linux notifications: irc: channels: - "chat.freenode.net#helenos" use_notice: false skip_join: true template: - "%{repository_name} (%{commit_message}): %{message}" - "Build details : %{build_url}"