2019-11-14 01:44:33 -08:00
|
|
|
version: ~> 1.0
|
|
|
|
|
2017-09-28 06:26:55 -07:00
|
|
|
language: c
|
2018-07-11 16:00:47 -07:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/cachedir
|
|
|
|
- $HOME/.ccache
|
2019-12-30 08:38:03 -08:00
|
|
|
dist: bionic
|
2017-09-28 06:26:55 -07:00
|
|
|
|
2020-02-21 00:15:53 -08:00
|
|
|
osx_image: xcode11.3
|
2019-06-24 06:10:56 -07:00
|
|
|
|
|
|
|
addons:
|
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- gettext
|
|
|
|
- check
|
|
|
|
- bullet
|
|
|
|
- dbus
|
|
|
|
- fontconfig
|
|
|
|
- freetype
|
|
|
|
- fribidi
|
|
|
|
- gst-plugins-good
|
|
|
|
- gstreamer
|
|
|
|
- luajit
|
|
|
|
- openssl
|
|
|
|
- webp
|
|
|
|
- libsndfile
|
|
|
|
- glib
|
|
|
|
- libspectre
|
|
|
|
- libraw
|
|
|
|
- librsvg
|
|
|
|
- poppler
|
|
|
|
- lz4
|
|
|
|
- pulseaudio
|
|
|
|
- ccache
|
|
|
|
- ninja
|
|
|
|
- python3
|
|
|
|
- libffi
|
2020-02-21 00:15:53 -08:00
|
|
|
update: true
|
2019-06-24 06:10:56 -07:00
|
|
|
|
2018-04-25 02:51:33 -07:00
|
|
|
env:
|
2018-07-12 06:17:35 -07:00
|
|
|
global:
|
2018-07-10 08:59:48 -07:00
|
|
|
- EIO_MONITOR_POLL=1
|
2018-07-10 15:43:55 -07:00
|
|
|
- CC="ccache gcc"
|
|
|
|
- CXX="ccache g++"
|
2017-09-28 06:26:55 -07:00
|
|
|
|
2018-11-16 03:35:55 -08:00
|
|
|
jobs:
|
|
|
|
include:
|
2020-03-09 01:28:12 -07:00
|
|
|
- os: osx
|
2019-05-29 09:20:15 -07:00
|
|
|
- os: linux
|
2019-10-30 01:40:46 -07:00
|
|
|
env: DISTRO=Fedora31-mingw CI_BUILD_TYPE=mingw
|
2019-01-28 09:00:26 -08:00
|
|
|
- os: linux
|
2019-10-30 01:40:46 -07:00
|
|
|
env: DISTRO=Fedora31 CI_BUILD_TYPE=options-enabled
|
2019-01-28 09:00:26 -08:00
|
|
|
- os: linux
|
2019-10-30 01:40:46 -07:00
|
|
|
env: DISTRO=Fedora31 CI_BUILD_TYPE=options-disabled
|
2019-01-28 09:00:26 -08:00
|
|
|
- os: linux
|
2019-10-30 01:40:46 -07:00
|
|
|
env: DISTRO=Fedora31 CI_BUILD_TYPE=wayland
|
2019-01-28 09:00:26 -08:00
|
|
|
- os: linux
|
2019-10-30 01:40:46 -07:00
|
|
|
env: DISTRO=Fedora31 CI_BUILD_TYPE=default
|
2019-01-28 09:00:26 -08:00
|
|
|
- os: linux
|
|
|
|
if: type = cron
|
2019-10-30 01:40:46 -07:00
|
|
|
env: DISTRO=Fedora31 CI_BUILD_TYPE=release-ready
|
2019-06-12 08:44:05 -07:00
|
|
|
- os: linux
|
|
|
|
if: type = cron
|
2019-06-19 06:26:01 -07:00
|
|
|
env: DISTRO=Ubuntu1804
|
2019-06-12 08:44:05 -07:00
|
|
|
- os: linux
|
|
|
|
if: type = cron
|
2019-11-05 06:53:24 -08:00
|
|
|
env: DISTRO=Ubuntu1910
|
2019-01-28 09:00:26 -08:00
|
|
|
- os: linux
|
|
|
|
if: type = cron
|
2019-06-19 06:26:01 -07:00
|
|
|
env: DISTRO=Debian96
|
2019-06-25 09:11:33 -07:00
|
|
|
- os: linux
|
|
|
|
if: type = cron
|
2019-10-30 01:40:46 -07:00
|
|
|
env: DISTRO=Fedora31 CI_BUILD_TYPE=coverity
|
2019-08-19 05:17:28 -07:00
|
|
|
- os: linux
|
|
|
|
if: type = cron
|
|
|
|
env: DISTRO=Fedora31 CI_BUILD_TYPE=asan
|
2020-02-12 09:10:07 -08:00
|
|
|
- os: linux
|
|
|
|
if: type = cron
|
|
|
|
env: DISTRO=Fedora31-exactness CI_BUILD_TYPE=exactness
|
2019-12-30 08:38:03 -08:00
|
|
|
- os: linux
|
|
|
|
if: type = cron
|
|
|
|
env: CI_BUILD_TYPE=codecov
|
2020-01-10 06:51:32 -08:00
|
|
|
- os: linux
|
|
|
|
if: type = cron
|
|
|
|
arch: arm64
|
|
|
|
env: CI_BUILD_TYPE=default
|
2020-03-24 05:11:31 -07:00
|
|
|
- os: linux
|
|
|
|
if: type = cron
|
|
|
|
arch: ppc64le
|
|
|
|
env: CI_BUILD_TYPE=no-bindings
|
2020-03-25 05:37:13 -07:00
|
|
|
- os: linux
|
|
|
|
if: type = cron
|
|
|
|
arch: s390x
|
|
|
|
env: CI_BUILD_TYPE=no-bindings
|
2018-11-16 03:35:55 -08:00
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
2017-09-28 06:26:55 -07:00
|
|
|
|
2018-01-02 07:47:12 -08:00
|
|
|
before_install:
|
2018-07-12 07:05:09 -07:00
|
|
|
- |
|
|
|
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
|
|
|
rm -rf $HOME/Library/Caches/Homebrew
|
|
|
|
rm -rf $HOME/cachedir/Homebrew/Homebrew
|
|
|
|
mv $HOME/cachedir/Homebrew $HOME/Library/Caches/Homebrew
|
2019-06-24 06:10:56 -07:00
|
|
|
pip3 install meson
|
2018-07-12 07:05:09 -07:00
|
|
|
fi
|
2018-01-02 07:47:12 -08:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- |
|
|
|
|
if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$DISTRO" != "" ]]; then
|
|
|
|
docker pull stefanschmidt1/ci-support-files:$DISTRO
|
2018-07-10 09:14:27 -07:00
|
|
|
docker version
|
2020-01-08 01:50:32 -08:00
|
|
|
docker run --cap-add SYS_PTRACE --cidfile $HOME/cid -t -d -v `pwd`:/src -v $HOME/.ccache:/root/.ccache -w /src stefanschmidt1/ci-support-files:$DISTRO bash
|
2018-07-10 09:14:27 -07:00
|
|
|
fi
|
2019-12-30 08:38:03 -08:00
|
|
|
- |
|
|
|
|
if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$DISTRO" == "" ]]; then
|
|
|
|
.ci/ubuntu-bionic-install-deps.sh
|
|
|
|
fi
|
2018-07-10 15:43:55 -07:00
|
|
|
- .ci/ci-ccache-stats.sh
|
2018-08-08 06:38:24 -07:00
|
|
|
|
2017-09-28 06:26:55 -07:00
|
|
|
script:
|
2018-07-10 09:14:27 -07:00
|
|
|
- .ci/ci-configure.sh "$CI_BUILD_TYPE"
|
2018-07-10 15:43:55 -07:00
|
|
|
- .ci/ci-setup-ccache.sh "$CI_BUILD_TYPE"
|
2018-07-10 09:14:27 -07:00
|
|
|
- .ci/ci-make.sh "$CI_BUILD_TYPE"
|
2019-09-19 06:28:57 -07:00
|
|
|
- .ci/ci-make-install.sh "$CI_BUILD_TYPE"
|
2019-11-15 00:29:24 -08:00
|
|
|
- .ci/ci-make-benchmark.sh "$CI_BUILD_TYPE"
|
2018-07-13 15:31:03 -07:00
|
|
|
- .ci/ci-make-check.sh "$CI_BUILD_TYPE"
|
2020-02-12 09:10:07 -08:00
|
|
|
- .ci/ci-exactness.sh "$CI_BUILD_TYPE"
|
2018-07-10 09:14:27 -07:00
|
|
|
- .ci/ci-make-distcheck.sh "$CI_BUILD_TYPE"
|
2019-09-19 06:28:57 -07:00
|
|
|
- .ci/ci-build-test.sh "$CI_BUILD_TYPE"
|
2019-11-15 00:29:24 -08:00
|
|
|
|
2018-07-10 15:43:55 -07:00
|
|
|
before_cache:
|
|
|
|
- .ci/ci-ccache-stats.sh
|
|
|
|
- |
|
2018-07-11 16:00:47 -07:00
|
|
|
mkdir -p $HOME/cachedir
|
2018-07-10 15:43:55 -07:00
|
|
|
if [[ "$TRAVIS_OS_NAME" == "linux" ]] ; then
|
|
|
|
sudo chown travis:travis $HOME/.ccache
|
|
|
|
else
|
2018-07-12 07:05:09 -07:00
|
|
|
mv $HOME/Library/Caches/Homebrew $HOME/cachedir/Homebrew
|
2018-07-10 15:43:55 -07:00
|
|
|
fi
|
2018-01-02 07:47:12 -08:00
|
|
|
|
2018-04-25 09:41:59 -07:00
|
|
|
notifications:
|
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "chat.freenode.net#edevelop"
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
2018-05-17 06:36:04 -07:00
|
|
|
template:
|
2018-07-23 07:27:53 -07:00
|
|
|
- "TravisCI build %{build_number} in branch %{branch}: %{result} - %{message} (%{elapsed_time})"
|
2018-05-17 06:36:04 -07:00
|
|
|
- "Commit: %{commit_subject} (%{commit}) from %{author}"
|
|
|
|
- "Change view : %{compare_url}"
|
|
|
|
- "Build details : %{build_url}"
|