Added CI tests script

Signed-off-by: Parag Nemade <pnemade@fedoraproject.org>
This commit is contained in:
Parag Nemade 2020-04-30 21:10:58 +05:30
parent 5666309f99
commit b1c4576c6c
No known key found for this signature in database
GPG Key ID: 71932951EB71E972
2 changed files with 35 additions and 0 deletions

9
tests/smoke/runtest.sh Normal file
View File

@ -0,0 +1,9 @@
#!/bin/bash
cd ../source
echo "---Start autogen.sh---"
NOCONFIGURE=1 ./autogen.sh
echo "---End autogen.sh---"
echo "--------------------"
find . -type f -exec sed -i 's/env python/python3/g' {} \; && ./configure --disable-static --with-graphite2 && echo "--------------------"; echo "---Start make check---"; make check; echo "---End make check---"

26
tests/tests.yml Normal file
View File

@ -0,0 +1,26 @@
---
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-source
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-basic
tests:
- smoke
required_packages:
- autoconf
- automake
- m4
- gcc-c++
- make
- python3-devel
- ragel
- libtool
- gtk-doc
- cairo-devel
- fontconfig-devel