您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

27 行
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}:latest
  15. - docker images
  16. script:
  17. - docker run -v ${PWD}:/mnt -it ${DOCKER_IMG}/${CC} /bin/bash -c "cd /mnt; script/ci_build.sh"