Merge pull request #499 from dunst-project/coveralls
Coveralls & travis build fixes
This commit is contained in:
		
						commit
						4c5c124e1e
					
				
							
								
								
									
										25
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										25
									
								
								.travis.yml
									
									
									
									
									
								
							| @ -18,17 +18,20 @@ addons: | ||||
| dist: trusty | ||||
| sudo: false | ||||
| language: c | ||||
| 
 | ||||
| before_install: | ||||
|   - pip install --user cpp-coveralls | ||||
| 
 | ||||
| script: | ||||
|   - CFLAGS="-fprofile-arcs -ftest-coverage -Werror" make all dunstify test-valgrind doc-doxygen | ||||
|   - coveralls | ||||
| compiler: | ||||
|   - gcc | ||||
|   - clang | ||||
| notifications: | ||||
|   irc: | ||||
|     channels: | ||||
|       - "chat.freenode.net#dunst" | ||||
|     on_success: change | ||||
|     on_failure: always | ||||
|   - CFLAGS="-Werror" make all dunstify test-valgrind doc-doxygen | ||||
|   - make clean | ||||
|   - CFLAGS="-Werror -fprofile-arcs -ftest-coverage -O0" make test | ||||
| 
 | ||||
| matrix: | ||||
|   include: | ||||
|     - compiler: gcc | ||||
|       after_success: | ||||
|         - coveralls --exclude 'test' | ||||
|     - compiler: clang | ||||
|       after_success: | ||||
|         - coveralls --exclude 'test' --gcov llvm-cov --gcov-options gcov | ||||
|  | ||||
| @ -14,8 +14,8 @@ PKG_CONFIG ?= pkg-config | ||||
| 
 | ||||
| # flags
 | ||||
| CPPFLAGS += -D_DEFAULT_SOURCE -DVERSION=\"${VERSION}\" | ||||
| CFLAGS   += -g --std=gnu99 -pedantic -Wall -Wno-overlength-strings -Os ${STATIC} ${CPPFLAGS} | ||||
| LDFLAGS  += -lm -L${X11LIB} | ||||
| CFLAGS   := -g --std=gnu99 -pedantic -Wall -Wno-overlength-strings -Os ${STATIC} ${CPPFLAGS} ${CFLAGS} | ||||
| LDFLAGS  := -lm ${LDFLAGS} | ||||
| 
 | ||||
| CPPFLAGS_DEBUG := -DDEBUG_BUILD | ||||
| CFLAGS_DEBUG   := -O0 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Nikos Tsipinakis
						Nikos Tsipinakis