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.

29 lines
436B

  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=gcc-6
  13. - env: CC=clang-5
  14. - env: CC=clang-4
  15. before_install:
  16. - docker pull ${DOCKER_IMG}/${CC}:latest
  17. - docker images
  18. script:
  19. - docker run -v ${PWD}:/mnt -it ${DOCKER_IMG}/${CC} /bin/bash -c "cd /mnt; script/ci_build.sh"