ci: enable exactness build on travis
authorStefan Schmidt <s.schmidt@samsung.com>
Wed, 12 Feb 2020 17:10:07 +0000 (12:10 -0500)
committerJongmin Lee <jm105.lee@samsung.com>
Wed, 12 Feb 2020 21:14:37 +0000 (06:14 +0900)
Summary:
With exactness merged into efl we can finally enable some exactness
testing on our CI. As a first step we will run around 47 tests from our
elementary_tests recordings.

The base data is already in the specific docker image to avoid
downloading on each run. We also need to use a dedicated branch from the
repo while we are still working out all the problems to make exactness
recordings really independent from their env.

Depends on D11317

Reviewers: zmike, bu5hm4n

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11318

.ci/ci-exactness.sh [new file with mode: 0755]
.travis.yml

diff --git a/.ci/ci-exactness.sh b/.ci/ci-exactness.sh
new file mode 100755 (executable)
index 0000000..6371de3
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+. .ci/travis.sh
+
+if [ "$1" != "exactness" ] ; then
+  exit 0
+fi
+
+travis_fold exactness "exactness"
+if [ "$DISTRO" != "" ] ; then
+  docker exec  --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) sh -c 'git -C /exactness-elm-data pull'
+  docker exec  --env EIO_MONITOR_POLL=1 --env LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/lib64 --env EINA_LOG_LEVELS_GLOB=eina_*:0,ecore*:0,efreet*:0,eldbus:0,elementary:0 $(cat $HOME/cid) exactness -j 20 -b /exactness-elm-data/default-profile -p /exactness-elm-data/default-profile/ci-integration-tests.txt
+fi
+travis_endfold exactness
index 89a213a..7e7aa23 100644 (file)
@@ -76,6 +76,9 @@ jobs:
       env: DISTRO=Fedora31 CI_BUILD_TYPE=asan
     - os: linux
       if: type = cron
+      env: DISTRO=Fedora31-exactness CI_BUILD_TYPE=exactness
+    - os: linux
+      if: type = cron
       env: CI_BUILD_TYPE=codecov
     - os: linux
       if: type = cron
@@ -114,6 +117,7 @@ script:
   - .ci/ci-make-install.sh "$CI_BUILD_TYPE"
   - .ci/ci-make-benchmark.sh "$CI_BUILD_TYPE"
   - .ci/ci-make-check.sh "$CI_BUILD_TYPE"
+  - .ci/ci-exactness.sh "$CI_BUILD_TYPE"
   - .ci/ci-make-distcheck.sh "$CI_BUILD_TYPE"
   - .ci/ci-build-test.sh "$CI_BUILD_TYPE"