Compare commits
3 Commits
master
...
devs/stefa
Author | SHA1 | Date |
---|---|---|
Stefan Schmidt | 599e6a510d | |
Stefan Schmidt | ad646bba83 | |
Stefan Schmidt | b644cdeb1c |
|
@ -51,14 +51,18 @@ if [ "$DISTRO" != "" ] ; then
|
||||||
elif [ "$1" = "release-ready" ]; then
|
elif [ "$1" = "release-ready" ]; then
|
||||||
OPTS="$OPTS $RELEASE_READY_LINUX_COPTS"
|
OPTS="$OPTS $RELEASE_READY_LINUX_COPTS"
|
||||||
elif [ "$1" = "coverity" ]; then
|
elif [ "$1" = "coverity" ]; then
|
||||||
OPTS="$OPTS $WAYLAND_LINUX_COPTS"
|
|
||||||
travis_fold start "cov-download"
|
travis_fold start "cov-download"
|
||||||
|
travis_time_start "cov-download"
|
||||||
|
OPTS="$OPTS $WAYLAND_LINUX_COPTS"
|
||||||
docker exec --env COVERITY_SCAN_TOKEN=$COVERITY_SCAN_TOKEN $(cat $HOME/cid) sh -c '.ci/coverity-tools-install.sh'
|
docker exec --env COVERITY_SCAN_TOKEN=$COVERITY_SCAN_TOKEN $(cat $HOME/cid) sh -c '.ci/coverity-tools-install.sh'
|
||||||
|
travis_time_finish "cov-download"
|
||||||
travis_fold end "cov-download"
|
travis_fold end "cov-download"
|
||||||
elif [ "$1" = "mingw" ]; then
|
elif [ "$1" = "mingw" ]; then
|
||||||
OPTS="$OPTS $MINGW_COPTS"
|
|
||||||
travis_fold start "cross-native"
|
travis_fold start "cross-native"
|
||||||
|
travis_time_start "cross-native"
|
||||||
|
OPTS="$OPTS $MINGW_COPTS"
|
||||||
docker exec $(cat $HOME/cid) sh -c '.ci/bootstrap-efl-native-for-cross.sh'
|
docker exec $(cat $HOME/cid) sh -c '.ci/bootstrap-efl-native-for-cross.sh'
|
||||||
|
travis_time_finish "cross-native"
|
||||||
travis_fold end "cross-native"
|
travis_fold end "cross-native"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -8,9 +8,9 @@ fi
|
||||||
|
|
||||||
NUM_TRIES=5
|
NUM_TRIES=5
|
||||||
|
|
||||||
travis_fold start "ninja-test"
|
|
||||||
travis_time_start "ninja-test"
|
|
||||||
if [ "$1" = "codecov" ] ; then
|
if [ "$1" = "codecov" ] ; then
|
||||||
|
travis_fold start "codecov"
|
||||||
|
travis_time_start "codecov"
|
||||||
for tries in $(seq 1 ${NUM_TRIES}); do
|
for tries in $(seq 1 ${NUM_TRIES}); do
|
||||||
export EFL_TEST_ECORE_CON_IPV6=1
|
export EFL_TEST_ECORE_CON_IPV6=1
|
||||||
meson test -t 120 -C build --wrapper dbus-launch && break
|
meson test -t 120 -C build --wrapper dbus-launch && break
|
||||||
|
@ -19,9 +19,13 @@ if [ "$1" = "codecov" ] ; then
|
||||||
false
|
false
|
||||||
done
|
done
|
||||||
curl -s https://codecov.io/bash | bash -s -
|
curl -s https://codecov.io/bash | bash -s -
|
||||||
|
travis_time_finish "codecov"
|
||||||
|
travis_fold end "codecov"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
travis_fold start "ninja-test"
|
||||||
|
travis_time_start "ninja-test"
|
||||||
if [ "$DISTRO" != "" ] ; then
|
if [ "$DISTRO" != "" ] ; then
|
||||||
for tries in $(seq 1 ${NUM_TRIES}); do
|
for tries in $(seq 1 ${NUM_TRIES}); do
|
||||||
(docker exec --env EINA_LOG_BACKTRACE="0" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) meson test -t 120 -C build --wrapper dbus-launch ) && break
|
(docker exec --env EINA_LOG_BACKTRACE="0" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) meson test -t 120 -C build --wrapper dbus-launch ) && break
|
||||||
|
|
|
@ -4,10 +4,5 @@ CI_BUILD_TYPE="$1"
|
||||||
|
|
||||||
cp .ci/ccache.conf ~/.ccache
|
cp .ci/ccache.conf ~/.ccache
|
||||||
|
|
||||||
if [ "$1" = "release-ready" ] ; then
|
sed -iE '/^base_dir/d' ~/.ccache/ccache.conf
|
||||||
sed -iE '/^base_dir/d' ~/.ccache/ccache.conf
|
echo "base_dir = $pwd" >> ~/.ccache/ccache.conf
|
||||||
echo "base_dir = $(pwd)/$(grep '^PACKAGE_STRING' config.log|cut -d\' -f2|tr ' ' -)" >> ~/.ccache/ccache.conf
|
|
||||||
else
|
|
||||||
sed -iE '/^base_dir/d' ~/.ccache/ccache.conf
|
|
||||||
echo "base_dir = $pwd" >> ~/.ccache/ccache.conf
|
|
||||||
fi
|
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
travis_fold start "bionic-deps"
|
||||||
|
travis_time_start "bionic-deps"
|
||||||
|
|
||||||
sudo apt-get update -y
|
sudo apt-get update -y
|
||||||
sudo apt-get install -y build-essential autoconf automake autopoint doxygen check libharfbuzz-dev libpng-dev libudev-dev libwebp-dev libssl-dev libfribidi-dev libcogl-gles2-dev libgif-dev libtiff5-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libdbus-1-dev libmount-dev libblkid-dev libpulse-dev libxrandr-dev libxtst-dev libxcursor-dev libxcomposite-dev libxinerama-dev libxkbfile-dev libbullet-dev libsndfile1-dev libraw-dev libspectre-dev libpoppler-cpp-dev libpam0g-dev liblz4-dev faenza-icon-theme gettext git imagemagick libasound2-dev libbluetooth-dev libfontconfig1-dev libfreetype6-dev libibus-1.0-dev libiconv-hook-dev libjpeg-dev libjpeg-turbo8-dev libpoppler-dev libpoppler-private-dev libproxy-dev librsvg2-dev libscim-dev libsystemd-dev libtool libudisks2-dev libunibreak-dev libxcb-keysyms1-dev libxss-dev linux-tools-common libcurl4-openssl-dev systemd ccache git binutils-gold python3-pip ninja-build dbus-x11 libavahi-client-dev python3-setuptools libopenjp2-7-dev libc6-dev libpcre3-dev
|
sudo apt-get install -y build-essential autoconf automake autopoint doxygen check libharfbuzz-dev libpng-dev libudev-dev libwebp-dev libssl-dev libfribidi-dev libcogl-gles2-dev libgif-dev libtiff5-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libdbus-1-dev libmount-dev libblkid-dev libpulse-dev libxrandr-dev libxtst-dev libxcursor-dev libxcomposite-dev libxinerama-dev libxkbfile-dev libbullet-dev libsndfile1-dev libraw-dev libspectre-dev libpoppler-cpp-dev libpam0g-dev liblz4-dev faenza-icon-theme gettext git imagemagick libasound2-dev libbluetooth-dev libfontconfig1-dev libfreetype6-dev libibus-1.0-dev libiconv-hook-dev libjpeg-dev libjpeg-turbo8-dev libpoppler-dev libpoppler-private-dev libproxy-dev librsvg2-dev libscim-dev libsystemd-dev libtool libudisks2-dev libunibreak-dev libxcb-keysyms1-dev libxss-dev linux-tools-common libcurl4-openssl-dev systemd ccache git binutils-gold python3-pip ninja-build dbus-x11 libavahi-client-dev python3-setuptools libopenjp2-7-dev libc6-dev libpcre3-dev
|
||||||
# s390x on Ubuntu Bionic on Travis does not have a luajit package and fails install, use lua5.1
|
# s390x on Ubuntu Bionic on Travis does not have a luajit package and fails install, use lua5.1
|
||||||
|
@ -8,3 +14,6 @@ else
|
||||||
sudo apt-get install -y luajit libluajit-5.1-dev
|
sudo apt-get install -y luajit libluajit-5.1-dev
|
||||||
fi
|
fi
|
||||||
sudo pip3 install meson
|
sudo pip3 install meson
|
||||||
|
|
||||||
|
travis_time_finish "bionic-deps"
|
||||||
|
travis_fold end "bionic-deps"
|
||||||
|
|
21
.travis.yml
21
.travis.yml
|
@ -58,39 +58,29 @@ jobs:
|
||||||
- os: linux
|
- os: linux
|
||||||
env: DISTRO=Fedora32 CI_BUILD_TYPE=default
|
env: DISTRO=Fedora32 CI_BUILD_TYPE=default
|
||||||
- os: linux
|
- os: linux
|
||||||
if: type = cron
|
|
||||||
env: DISTRO=Fedora32 CI_BUILD_TYPE=release-ready
|
env: DISTRO=Fedora32 CI_BUILD_TYPE=release-ready
|
||||||
- os: linux
|
- os: linux
|
||||||
if: type = cron
|
|
||||||
env: DISTRO=Ubuntu2004
|
env: DISTRO=Ubuntu2004
|
||||||
- os: linux
|
- os: linux
|
||||||
if: type = cron
|
|
||||||
env: DISTRO=Ubuntu1910
|
env: DISTRO=Ubuntu1910
|
||||||
- os: linux
|
- os: linux
|
||||||
if: type = cron
|
|
||||||
env: DISTRO=Debian103
|
env: DISTRO=Debian103
|
||||||
- os: linux
|
- os: linux
|
||||||
if: type = cron
|
if: type = cron
|
||||||
env: DISTRO=Fedora31 CI_BUILD_TYPE=coverity
|
env: DISTRO=Fedora31 CI_BUILD_TYPE=coverity
|
||||||
- os: linux
|
- os: linux
|
||||||
if: type = cron
|
|
||||||
env: DISTRO=Fedora32 CI_BUILD_TYPE=asan
|
env: DISTRO=Fedora32 CI_BUILD_TYPE=asan
|
||||||
- os: linux
|
- os: linux
|
||||||
if: type = cron
|
|
||||||
env: DISTRO=Fedora32-exactness CI_BUILD_TYPE=exactness
|
env: DISTRO=Fedora32-exactness CI_BUILD_TYPE=exactness
|
||||||
- os: linux
|
- os: linux
|
||||||
if: type = cron
|
|
||||||
env: CI_BUILD_TYPE=codecov
|
env: CI_BUILD_TYPE=codecov
|
||||||
- os: linux
|
- os: linux
|
||||||
if: type = cron
|
|
||||||
arch: arm64
|
arch: arm64
|
||||||
env: CI_BUILD_TYPE=default
|
env: CI_BUILD_TYPE=default
|
||||||
- os: linux
|
- os: linux
|
||||||
if: type = cron
|
|
||||||
arch: ppc64le
|
arch: ppc64le
|
||||||
env: CI_BUILD_TYPE=no-bindings
|
env: CI_BUILD_TYPE=no-bindings
|
||||||
- os: linux
|
- os: linux
|
||||||
if: type = cron
|
|
||||||
arch: s390x
|
arch: s390x
|
||||||
env: CI_BUILD_TYPE=no-bindings
|
env: CI_BUILD_TYPE=no-bindings
|
||||||
|
|
||||||
|
@ -144,14 +134,3 @@ before_cache:
|
||||||
mv $HOME/Library/Caches/Homebrew $HOME/cachedir/Homebrew
|
mv $HOME/Library/Caches/Homebrew $HOME/cachedir/Homebrew
|
||||||
fi
|
fi
|
||||||
|
|
||||||
notifications:
|
|
||||||
irc:
|
|
||||||
channels:
|
|
||||||
- "chat.freenode.net#edevelop"
|
|
||||||
on_success: change
|
|
||||||
on_failure: always
|
|
||||||
template:
|
|
||||||
- "TravisCI build %{build_number} in branch %{branch}: %{result} - %{message} (%{elapsed_time})"
|
|
||||||
- "Commit: %{commit_subject} (%{commit}) from %{author}"
|
|
||||||
- "Change view : %{compare_url}"
|
|
||||||
- "Build details : %{build_url}"
|
|
||||||
|
|
Loading…
Reference in New Issue