|
|
|
|
|
|
|
|
dist: trusty |
|
|
dist: trusty |
|
|
sudo: required |
|
|
sudo: required |
|
|
|
|
|
|
|
|
|
|
|
services: |
|
|
|
|
|
- docker |
|
|
|
|
|
|
|
|
env: |
|
|
env: |
|
|
global: |
|
|
global: |
|
|
- DEPENDENCY_DIR="${TRAVIS_BUILD_DIR}/dependencies" |
|
|
|
|
|
|
|
|
|
|
|
cache: |
|
|
|
|
|
directories: |
|
|
|
|
|
- ${DEPENDENCY_DIR} |
|
|
|
|
|
|
|
|
- DOCKER_IMG="registry.gitlab.com/offa/docker-images" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
matrix: |
|
|
matrix: |
|
|
include: |
|
|
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: |
|
|
- script/ci_build.sh |
|
|
|
|
|
|
|
|
- docker run -v ${PWD}:/mnt -it ${DOCKER_IMG}/${CC} /bin/bash -c "cd /mnt; script/ci_build.sh" |
|
|
|
|
|
|