1language: c 2env: 3 global: 4 - GAPROOT=gaproot 5 - COVDIR=coverage 6 7addons: 8 apt_packages: 9 - libgmp-dev 10 - libreadline-dev 11 - libgmp-dev:i386 12 - libreadline-dev:i386 13 - gcc-multilib 14 - g++-multilib 15 16matrix: 17 include: 18 - env: CFLAGS="-O2" CC=clang CXX=clang++ 19 compiler: clang 20 - env: CFLAGS="-O2" 21 compiler: gcc 22 - env: ABI=32 23 24branches: 25 only: 26 - master 27 28before_script: 29 - export GAPROOT="$HOME/gap" 30 - git clone https://github.com/gap-system/pkg-ci-scripts.git scripts 31 - scripts/build_gap.sh 32script: 33 - scripts/build_pkg.sh && scripts/run_tests.sh 34after_script: 35 - bash scripts/gather-coverage.sh 36 - bash <(curl -s https://codecov.io/bash) 37