Ver código fonte

Travis CI builds moved to docker (#93).

main
offa 7 anos atrás
pai
commit
507a3b6c30
1 arquivos alterados com 14 adições e 25 exclusões
  1. +14
    -25
      .travis.yml

+ 14
- 25
.travis.yml Ver arquivo

@@ -3,37 +3,26 @@ language: generic
dist: trusty
sudo: required

services:
- docker

env:
global:
- DEPENDENCY_DIR="${TRAVIS_BUILD_DIR}/dependencies"

cache:
directories:
- ${DEPENDENCY_DIR}
- DOCKER_IMG="registry.gitlab.com/offa/docker-images"


matrix:
include:
- env: CXX=g++-7 CC=gcc-7
addons:
apt:
packages:
- g++-7
sources: &sources
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty
- llvm-toolchain-trusty-5.0
- env: CXX=clang++-5.0 CC=clang-5.0
addons:
apt:
packages:
- clang-5.0
sources: *sources


install:
- script/ci_install.sh
- env: CC=gcc-7
- env: CC=gcc-6
- env: CC=clang-5
- env: CC=clang-4


before_install:
- docker pull ${DOCKER_IMG}/${CC}:latest
- docker images

script:
- script/ci_build.sh
- docker run -v ${PWD}:/mnt -it ${DOCKER_IMG}/${CC} /bin/bash -c "cd /mnt; script/ci_build.sh"


Carregando…
Cancelar
Salvar