Add missing files 95/231595/1
authorHeeyong Song <heeyong.song@samsung.com>
Thu, 23 Apr 2020 01:12:39 +0000 (10:12 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Thu, 23 Apr 2020 01:14:06 +0000 (10:14 +0900)
Change-Id: Id9db1334b76fb97a2d345e8b9804a21bd65007ba

.gitignore [new file with mode: 0644]
.travis.yml [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..37cc90f
--- /dev/null
@@ -0,0 +1,47 @@
+.cproject
+.project
+.settings
+.directory
+Makefile.in
+Makefile
+BROWSE
+CMakeCache.txt
+CMakeFiles/
+cmake_install.cmake
+dali.info
+install_manifest.txt
+libdali-core.so*
+*~
+*.pc
+*.o
+*.o.d
+*.lo
+*.loT
+*.la
+*.so
+*.orig
+*.odt
+*.fodt
+*.test
+*.example
+*.a
+*.apk
+*.ap_
+*.class
+*.classpath
+*.dex
+*.gcno
+*.gcda
+*.gcov
+.deps
+.libs
+*.swp
+*.creator
+*.creator.user
+/docs/generated/*
+/build/tizen/doc
+/build/tizen/.cov
+/build/desktop
+/packaging/home*
+compile_commands.json
+file-list.cmake
diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..04f43d6
--- /dev/null
@@ -0,0 +1,45 @@
+language: cpp
+sudo: required
+dist: trusty
+
+matrix:
+  include:
+    - compiler: gcc
+      addons:
+        apt:
+          sources:
+            - ubuntu-toolchain-r-test
+          packages:
+            - g++-5  libexpat1-dev libxml-parser-perl lcov
+      env: COMPILER=g++-5
+
+before_install:
+  - pip install --user cpp-coveralls
+  - gem install coveralls-lcov
+  - lcov --version
+
+install:
+  # install latest LCOV (1.10 still has perl error)
+  - wget http://ftp.de.debian.org/debian/pool/main/l/lcov/lcov_1.11.orig.tar.gz
+  - tar xf lcov_1.11.orig.tar.gz
+  - sudo make -C lcov-1.11/ install
+
+script:
+  - pushd build/tizen/
+  - autoreconf --install
+  - export CXXFLAGS="--coverage "
+  - export LD_LIBRARY_PATH=/usr/local/lib
+  - ./configure --enable-profile=UBUNTU --enable-debug
+  - make -j7
+  - sudo make install
+  - popd
+  - pushd automated-tests/
+  - ./build.sh
+  - ./execute.sh
+  - ./coverage.sh -n
+  - popd
+
+after_success:
+  - find . -name dali.info -exec sh -c "cat {} >> cov.info" \;
+  - coveralls-lcov --repo-token ${COVERALLS_REPO_TOKEN} cov.info # uploads to coveralls
+  # - coveralls --exclude lib --exclude tests --gcov-options '\-lp'