efl_ui_win: Disable automatic size_min/max_set.
[platform/upstream/efl.git] / .travis.yml
1 version: ~> 1.0
2
3 language: c
4 cache:
5   directories:
6     - $HOME/cachedir
7     - $HOME/.ccache
8 dist: bionic
9
10 osx_image: xcode11.3
11
12 addons:
13   homebrew:
14     packages:
15       - gettext
16       - check
17       - bullet
18       - dbus
19       - fontconfig
20       - freetype
21       - fribidi
22       - gst-plugins-good
23       - gstreamer
24       - luajit
25       - openssl
26       - webp
27       - libsndfile
28       - glib
29       - libspectre
30       - libraw
31       - librsvg
32       - poppler
33       - lz4
34       - pulseaudio
35       - ccache
36       - ninja
37       - python3
38       - libffi
39     update: true
40
41 env:
42   global:
43     - EIO_MONITOR_POLL=1
44     - CC="ccache gcc"
45     - CXX="ccache g++"
46
47 jobs:
48   include:
49     - os: osx
50     - os: linux
51       env: DISTRO=Fedora32-mingw CI_BUILD_TYPE=mingw
52     - os: linux
53       env: DISTRO=Fedora32 CI_BUILD_TYPE=options-enabled
54     - os: linux
55       env: DISTRO=Fedora32 CI_BUILD_TYPE=options-disabled
56     - os: linux
57       env: DISTRO=Fedora32 CI_BUILD_TYPE=wayland
58     - os: linux
59       env: DISTRO=Fedora32 CI_BUILD_TYPE=default
60     - os: linux
61       if: type = cron
62       env: DISTRO=Fedora32 CI_BUILD_TYPE=release-ready
63     - os: linux
64       if: type = cron
65       env: DISTRO=Ubuntu2004
66     - os: linux
67       if: type = cron
68       env: DISTRO=Ubuntu1910
69     - os: linux
70       if: type = cron
71       env: DISTRO=Debian103
72     - os: linux
73       if: type = cron
74       env: DISTRO=Fedora31 CI_BUILD_TYPE=coverity
75     - os: linux
76       if: type = cron
77       env: DISTRO=Fedora32 CI_BUILD_TYPE=asan
78     - os: linux
79       if: type = cron
80       env: DISTRO=Fedora32-exactness CI_BUILD_TYPE=exactness
81     - os: linux
82       if: type = cron
83       env: CI_BUILD_TYPE=codecov
84     - os: linux
85       if: type = cron
86       arch: arm64
87       env: CI_BUILD_TYPE=default
88     - os: linux
89       if: type = cron
90       arch: ppc64le
91       env: CI_BUILD_TYPE=no-bindings
92     - os: linux
93       if: type = cron
94       arch: s390x
95       env: CI_BUILD_TYPE=no-bindings
96
97 services:
98   - docker
99
100 before_install:
101   - export -f travis_nanoseconds
102   - export -f travis_fold
103   - export -f travis_time_start
104   - export -f travis_time_finish
105   - |
106       if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
107         rm -rf $HOME/Library/Caches/Homebrew
108         rm -rf $HOME/cachedir/Homebrew/Homebrew
109         mv $HOME/cachedir/Homebrew $HOME/Library/Caches/Homebrew
110         pip3 install meson
111       fi
112
113 before_script:
114   - |
115       if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$DISTRO" != "" ]]; then
116         docker pull stefanschmidt1/ci-support-files:$DISTRO
117         docker version
118         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
119       fi
120   - |
121       if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$DISTRO" == "" ]]; then
122         .ci/ubuntu-bionic-install-deps.sh
123       fi
124   - .ci/ci-ccache-stats.sh
125
126 script:
127   - .ci/ci-configure.sh "$CI_BUILD_TYPE"
128   - .ci/ci-setup-ccache.sh "$CI_BUILD_TYPE"
129   - .ci/ci-make.sh "$CI_BUILD_TYPE"
130   - .ci/ci-make-install.sh "$CI_BUILD_TYPE"
131   - .ci/ci-make-benchmark.sh "$CI_BUILD_TYPE"
132   - .ci/ci-make-check.sh "$CI_BUILD_TYPE"
133   - .ci/ci-exactness.sh "$CI_BUILD_TYPE"
134   - .ci/ci-make-distcheck.sh "$CI_BUILD_TYPE"
135   - .ci/ci-build-test.sh "$CI_BUILD_TYPE"
136
137 before_cache:
138   - .ci/ci-ccache-stats.sh
139   - |
140        mkdir -p $HOME/cachedir
141        if [[ "$TRAVIS_OS_NAME" == "linux" ]] ; then
142          sudo chown travis:travis $HOME/.ccache
143        else
144          mv $HOME/Library/Caches/Homebrew $HOME/cachedir/Homebrew
145        fi
146
147 notifications:
148   irc:
149     channels:
150       - "chat.freenode.net#edevelop"
151     on_success: change
152     on_failure: always
153     template:
154       - "TravisCI build %{build_number} in branch %{branch}: %{result} - %{message} (%{elapsed_time})"
155       - "Commit: %{commit_subject} (%{commit}) from %{author}"
156       - "Change view : %{compare_url}"
157       - "Build details : %{build_url}"