mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			Travis: Remove make.py test for events and littlefs
The removed tests were building applications from the content of their respective README files. The events test was building with the full profile twice. The first time with the repository as is; and the second time after deleting some directories (to simulate the baremetal profile). The littlefs test was building once with the full profile. Testing make.py is no longer required as it is no longer supported. There is already test coverage for APIs in the removed tests.pull/14143/head
							parent
							
								
									2255408f45
								
							
						
					
					
						commit
						e86ce22ad3
					
				
							
								
								
									
										35
									
								
								.travis.yml
								
								
								
								
							
							
						
						
									
										35
									
								
								.travis.yml
								
								
								
								
							| 
						 | 
				
			
			@ -265,37 +265,10 @@ matrix:
 | 
			
		|||
    ### Extended Tests ###
 | 
			
		||||
    - &extended-vm
 | 
			
		||||
      stage: "Extended"
 | 
			
		||||
      name: "events"
 | 
			
		||||
      env: NAME=events EVENTS=events
 | 
			
		||||
      language: python
 | 
			
		||||
      python: 3.7
 | 
			
		||||
      install:
 | 
			
		||||
        # Install gcc
 | 
			
		||||
        - source_pkg gcc
 | 
			
		||||
        - arm-none-eabi-gcc --version
 | 
			
		||||
        # Install python modules
 | 
			
		||||
        - python -m pip install --upgrade pip==18.1
 | 
			
		||||
        - python -m pip install --upgrade setuptools==40.4.3
 | 
			
		||||
        - pip install -r requirements.txt
 | 
			
		||||
        - pip list --verbose
 | 
			
		||||
      script:
 | 
			
		||||
        # Check that example compiles
 | 
			
		||||
        - sed -n '/``` cpp/,/```/{/```$/Q;/```/d;p;}' ${EVENTS}/README.md > main.cpp
 | 
			
		||||
        - python tools/make.py -t GCC_ARM -m K64F --source=. --build=BUILD/K64F/GCC_ARM -j0
 | 
			
		||||
        # Check that example compiles without rtos
 | 
			
		||||
        - sed -n '/``` cpp/,/```/{/```$/Q;/```/d;p;}' ${EVENTS}/README.md > main.cpp
 | 
			
		||||
        - |
 | 
			
		||||
          rm -r cmsis/CMSIS_5/CMSIS/RTOS2 cmsis/device/rtos drivers/usb connectivity/cellular connectivity/drivers/cellular \
 | 
			
		||||
            connectivity/libraries/ppp connectivity/netsocket connectivity/nanostack connectivity/lwipstack features/frameworks/greentea-client \
 | 
			
		||||
            features/frameworks/utest features/frameworks/unity BUILD
 | 
			
		||||
        - python tools/make.py -t GCC_ARM -m NUCLEO_F103RB --source=. --build=BUILD/NUCLEO_F103RB/GCC_ARM -j0
 | 
			
		||||
        # Run profiling tests
 | 
			
		||||
        - make -C ${EVENTS}/tests/unit prof | tee prof
 | 
			
		||||
        - ccache -s
 | 
			
		||||
 | 
			
		||||
    - <<: *extended-vm
 | 
			
		||||
      name: "littlefs"
 | 
			
		||||
      env: NAME=littlefs LITTLEFS=storage/filesystem/littlefs
 | 
			
		||||
      language: python
 | 
			
		||||
      python: 3.7
 | 
			
		||||
      install:
 | 
			
		||||
        # Install gcc
 | 
			
		||||
        - source_pkg gcc
 | 
			
		||||
| 
						 | 
				
			
			@ -323,10 +296,6 @@ matrix:
 | 
			
		|||
        - losetup /dev/loop0 DISK
 | 
			
		||||
        - CFLAGS="-Werror -Wno-format"
 | 
			
		||||
      script:
 | 
			
		||||
        # Check that example compiles
 | 
			
		||||
        - export CFLAGS="-Werror -Wno-format"
 | 
			
		||||
        - sed -n '/``` c++/,/```/{/```/d;p;}' ${LITTLEFS}/README.md > main.cpp
 | 
			
		||||
        - python tools/make.py -t GCC_ARM -m K82F --source=. --build=BUILD/K82F/GCC_ARM -j0
 | 
			
		||||
        # Run local littlefs tests
 | 
			
		||||
        - make -C${LITTLEFS}/littlefs test QUIET=1
 | 
			
		||||
        # Run local littlefs tests with set of variations
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue