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 | dist: trusty | ||||||
| sudo: false | sudo: false | ||||||
| language: c | language: c | ||||||
|  | 
 | ||||||
| before_install: | before_install: | ||||||
|   - pip install --user cpp-coveralls |   - pip install --user cpp-coveralls | ||||||
|  | 
 | ||||||
| script: | script: | ||||||
|   - CFLAGS="-fprofile-arcs -ftest-coverage -Werror" make all dunstify test-valgrind doc-doxygen |   - CFLAGS="-Werror" make all dunstify test-valgrind doc-doxygen | ||||||
|   - coveralls |   - make clean | ||||||
| compiler: |   - CFLAGS="-Werror -fprofile-arcs -ftest-coverage -O0" make test | ||||||
|   - gcc | 
 | ||||||
|   - clang | matrix: | ||||||
| notifications: |   include: | ||||||
|   irc: |     - compiler: gcc | ||||||
|     channels: |       after_success: | ||||||
|       - "chat.freenode.net#dunst" |         - coveralls --exclude 'test' | ||||||
|     on_success: change |     - compiler: clang | ||||||
|     on_failure: always |       after_success: | ||||||
|  |         - coveralls --exclude 'test' --gcov llvm-cov --gcov-options gcov | ||||||
|  | |||||||
| @ -14,8 +14,8 @@ PKG_CONFIG ?= pkg-config | |||||||
| 
 | 
 | ||||||
| # flags
 | # flags
 | ||||||
| CPPFLAGS += -D_DEFAULT_SOURCE -DVERSION=\"${VERSION}\" | CPPFLAGS += -D_DEFAULT_SOURCE -DVERSION=\"${VERSION}\" | ||||||
| CFLAGS   += -g --std=gnu99 -pedantic -Wall -Wno-overlength-strings -Os ${STATIC} ${CPPFLAGS} | CFLAGS   := -g --std=gnu99 -pedantic -Wall -Wno-overlength-strings -Os ${STATIC} ${CPPFLAGS} ${CFLAGS} | ||||||
| LDFLAGS  += -lm -L${X11LIB} | LDFLAGS  := -lm ${LDFLAGS} | ||||||
| 
 | 
 | ||||||
| CPPFLAGS_DEBUG := -DDEBUG_BUILD | CPPFLAGS_DEBUG := -DDEBUG_BUILD | ||||||
| CFLAGS_DEBUG   := -O0 | CFLAGS_DEBUG   := -O0 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Nikos Tsipinakis
						Nikos Tsipinakis