ci: travis: enable efl-one in our all enabled build
authorStefan Schmidt <s.schmidt@samsung.com>
Thu, 28 May 2020 17:32:03 +0000 (19:32 +0200)
committerJongmin Lee <jm105.lee@samsung.com>
Tue, 2 Jun 2020 22:10:22 +0000 (07:10 +0900)
After a successful build we run the efl-one test script to see if it
drags in unwanted libs.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11906

.ci/ci-configure.sh
.ci/ci-make.sh

index 4401876..9e610c1 100755 (executable)
@@ -18,7 +18,7 @@ if [ "$DISTRO" != "" ] ; then
   ENABLED_LINUX_COPTS=" -Dfb=true -Dsdl=true -Dbuffer=true -Dbuild-id=travis-build \
   -Ddebug-threads=true -Dglib=true -Dg-mainloop=true -Dxpresent=true -Dxinput22=true \
   -Devas-loaders-disabler=json -Decore-imf-loaders-disabler= \
-  -Dharfbuzz=true -Dpixman=true -Dhyphen=true \
+  -Dharfbuzz=true -Dpixman=true -Dhyphen=true -Defl-one=true \
   -Dvnc-server=true -Dbindings=lua,cxx,mono -Delogind=false -Dinstall-eo-files=true -Dphysics=true"
 
   # Enabled png, jpeg evas loader for in tree edje file builds
index fcb99f7..210929d 100755 (executable)
@@ -15,6 +15,9 @@ if [ "$DISTRO" != "" ] ; then
     docker exec --env EIO_MONITOR_POLL=1 --env COVERITY_SCAN_TOKEN=$COVERITY_SCAN_TOKEN $(cat $HOME/cid) sh -c ".ci/coverity-upload.sh"
   else
     docker exec --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) ninja -C build
+    if [ "$1" = "options-enabled" ]; then # we have efl-one on and want to check it after build
+      docker exec --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) python scripts/test-efl-one.py build
+    fi
   fi
 elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
   latest_brew_python3_bin="$(ls -1d /usr/local/Cellar/python/3.*/bin | sort -n | tail -n1)"