ci: add more build targets

Travis now builds with Clang and containers with git snapshots
of some dependencies.
This commit is contained in:
Martin Herkt 2018-06-25 23:24:30 +02:00
parent 7428272f93
commit 802f594a85
No known key found for this signature in database
GPG Key ID: C24B9CD04DC6AE7F
1 changed files with 5 additions and 2 deletions

View File

@ -10,7 +10,10 @@ sudo: required
env:
matrix:
- CONTAINER=registry.opensuse.org/home/lachs0r/images/containers/mpv-ci:latest CI_SCRIPT=ci/build-tumbleweed.sh
- CONTAINER=registry.opensuse.org/home/lachs0r/images/containers/mpv-ci:stable-deps CI_SCRIPT=ci/build-tumbleweed.sh CC=gcc
- CONTAINER=registry.opensuse.org/home/lachs0r/images/containers/mpv-ci:stable-deps CI_SCRIPT=ci/build-tumbleweed.sh CC=clang
- CONTAINER=registry.opensuse.org/home/lachs0r/images/containers/mpv-ci:snapshot-deps CI_SCRIPT=ci/build-tumbleweed.sh CC=gcc
- CONTAINER=registry.opensuse.org/home/lachs0r/images/containers/mpv-ci:snapshot-deps CI_SCRIPT=ci/build-tumbleweed.sh CC=clang
global:
# Coverity token
- secure: "H21mSRlMhk4BKS0xHZvCFGJxteCP0hRVUxTuNfM2Z9HBsyutuLEYMtViLO86VtM+Tqla3xXPzUdS4ozLwI72Ax/5ZUDXACROj73yW6QhFB5D6rLut12+FjqC7M33Qv2hl0xwgNBmR5dsm1ToP37+Wn+ecJQNvN8fkTXF+HVzOEw="
@ -26,7 +29,7 @@ branches:
before_install:
- docker pull $CONTAINER
script:
- docker run -v $TRAVIS_BUILD_DIR:/build $CONTAINER /bin/sh -c "cd /build && $CI_SCRIPT"
- docker run --env CC -v $TRAVIS_BUILD_DIR:/build $CONTAINER /bin/sh -c "cd /build && $CI_SCRIPT"
after_failure: cat ./build/config.log
after_script: TOOLS/travis-rebuild-website