diff --git a/.travis.yml b/.travis.yml index 5dac9895..af182ba3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,7 @@ addons: - libcairo2-dev - libstartup-notification0-dev - xvfb + - gcov - discount - xdotool @@ -29,4 +30,8 @@ script: - make test # to re-enable if xdotool is allowed. - make test-x + - gcov source/rofi.c - make distcheck + +after_success: + - bash <(curl -s https://codecov.io/bash) diff --git a/source/xrmoptions.c b/source/xrmoptions.c index ecb06fb5..7aefd595 100644 --- a/source/xrmoptions.c +++ b/source/xrmoptions.c @@ -520,7 +520,7 @@ void print_xresources_theme ( void ) } printf ( "! ------------------------------------------------------------------------------\n" ); printf ( "! ROFI Color theme\n" ); - printf ( "! User: %s\n", g_get_user_name()); + printf ( "! User: %s\n", g_get_user_name () ); printf ( "! ------------------------------------------------------------------------------\n" ); const char * namePrefix = "rofi"; unsigned int entries = sizeof ( xrmOptions ) / sizeof ( *xrmOptions );