You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
394B

  1. language: generic
  2. dist: trusty
  3. sudo: required
  4. services:
  5. - docker
  6. env:
  7. global:
  8. - DOCKER_IMG="registry.gitlab.com/offa/docker-images"
  9. matrix:
  10. include:
  11. - env: CC=gcc-7
  12. - env: CC=clang-5
  13. before_install:
  14. - docker pull ${DOCKER_IMG}/${CC}:stable
  15. - docker images
  16. script:
  17. - docker run -v ${PWD}:/mnt -it ${DOCKER_IMG}/${CC} /bin/bash -c "cd /mnt; script/ci_build.sh"