mirror of
				https://github.com/thelsing/knx.git
				synced 2025-10-26 10:26:25 +01:00 
			
		
		
		
	Merge branch 'master' of https://github.com/thelsing/knx
This commit is contained in:
		
						commit
						e0623730e3
					
				
							
								
								
									
										62
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										62
									
								
								.travis.yml
									
									
									
									
									
								
							@ -1,41 +1,12 @@
 | 
				
			|||||||
language: cpp
 | 
					language: cpp
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cache:
 | 
				
			||||||
 | 
					  directories:
 | 
				
			||||||
 | 
					    - ~/arduino_ide
 | 
				
			||||||
 | 
					    - ~/.arduino15/packages/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
matrix:
 | 
					matrix:
 | 
				
			||||||
  include:
 | 
					  include:
 | 
				
			||||||
    # works on Precise and Trusty
 | 
					 | 
				
			||||||
    - os: linux
 | 
					 | 
				
			||||||
      addons:
 | 
					 | 
				
			||||||
        apt:
 | 
					 | 
				
			||||||
          sources:
 | 
					 | 
				
			||||||
            - ubuntu-toolchain-r-test
 | 
					 | 
				
			||||||
          packages:
 | 
					 | 
				
			||||||
            - g++-4.9
 | 
					 | 
				
			||||||
      env:
 | 
					 | 
				
			||||||
         - MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    # works on Precise and Trusty
 | 
					 | 
				
			||||||
    - os: linux
 | 
					 | 
				
			||||||
      addons:
 | 
					 | 
				
			||||||
        apt:
 | 
					 | 
				
			||||||
          sources:
 | 
					 | 
				
			||||||
            - ubuntu-toolchain-r-test
 | 
					 | 
				
			||||||
          packages:
 | 
					 | 
				
			||||||
            - g++-5
 | 
					 | 
				
			||||||
      env:
 | 
					 | 
				
			||||||
         - MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    # works on Precise and Trusty
 | 
					 | 
				
			||||||
    - os: linux
 | 
					 | 
				
			||||||
      addons:
 | 
					 | 
				
			||||||
        apt:
 | 
					 | 
				
			||||||
          sources:
 | 
					 | 
				
			||||||
            - ubuntu-toolchain-r-test
 | 
					 | 
				
			||||||
          packages:
 | 
					 | 
				
			||||||
            - g++-6
 | 
					 | 
				
			||||||
      env:
 | 
					 | 
				
			||||||
        - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    # works on Precise and Trusty
 | 
					 | 
				
			||||||
    - os: linux
 | 
					    - os: linux
 | 
				
			||||||
      addons:
 | 
					      addons:
 | 
				
			||||||
        apt:
 | 
					        apt:
 | 
				
			||||||
@ -45,15 +16,20 @@ matrix:
 | 
				
			|||||||
            - g++-7
 | 
					            - g++-7
 | 
				
			||||||
      env:
 | 
					      env:
 | 
				
			||||||
        - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
 | 
					        - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
 | 
				
			||||||
 | 
					        - MODE=LINUX
 | 
				
			||||||
 | 
					    - os: linux
 | 
				
			||||||
 | 
					      env:
 | 
				
			||||||
 | 
					        - MODE=ARDUINO
 | 
				
			||||||
 | 
					
 | 
				
			||||||
before_install:
 | 
					before_install:
 | 
				
			||||||
    - eval "${MATRIX_EVAL}"
 | 
					    - if [ "$MODE" = "LINUX" ]; then eval "${MATRIX_EVAL}"; fi
 | 
				
			||||||
 | 
					    - if [ "$MODE" = "ARDUINO" ]; then source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh); fi
 | 
				
			||||||
 | 
					install:
 | 
				
			||||||
 | 
					  - if [ "$MODE" = "ARDUINO" ]; then arduino --install-library "WiFiManager"; fi
 | 
				
			||||||
script:
 | 
					script:
 | 
				
			||||||
     - cd knx-linux
 | 
					     - if [ "$MODE" = "LINUX" ]; then cd knx-linux; fi
 | 
				
			||||||
     - mkdir -p build
 | 
					     - if [ "$MODE" = "LINUX" ]; then mkdir -p build; fi
 | 
				
			||||||
     - cd build
 | 
					     - if [ "$MODE" = "LINUX" ]; then cd build; fi
 | 
				
			||||||
     - cmake .. 
 | 
					     - if [ "$MODE" = "LINUX" ]; then cmake ..; fi 
 | 
				
			||||||
     - make
 | 
					     - if [ "$MODE" = "LINUX" ]; then make; fi
 | 
				
			||||||
 | 
					     - if [ "$MODE" = "ARDUINO" ]; then build_platform esp8266; fi
 | 
				
			||||||
 | 
				
			|||||||
@ -1,3 +1,8 @@
 | 
				
			|||||||
 | 
					knx  [](https://travis-ci.org/thelsing/knx)
 | 
				
			||||||
 | 
					===
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
This projects provides a knx-device stack for arduino (ESP8266, SAMD21) and linux. (more are quite easy to add)
 | 
					This projects provides a knx-device stack for arduino (ESP8266, SAMD21) and linux. (more are quite easy to add)
 | 
				
			||||||
It implements most of System-B specification and can be configured with ETS.
 | 
					It implements most of System-B specification and can be configured with ETS.
 | 
				
			||||||
The necessary knxprod-files can be generated with my [CreateKnxProd](https://github.com/thelsing/CreateKnxProd) tool.
 | 
					The necessary knxprod-files can be generated with my [CreateKnxProd](https://github.com/thelsing/CreateKnxProd) tool.
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user