mirror of https://github.com/ARMmbed/mbed-os.git
22 lines
1.0 KiB
YAML
22 lines
1.0 KiB
YAML
test:
|
|
override:
|
|
- cd ../testproject && mbed deploy
|
|
- cd ../testproject && mbed compile -m K64F -t GCC_ARM -j 0 --source=. --source=mbed-os/TESTS/integration/basic
|
|
- cd ../testproject && mbed compile -m K64F -t GCC_ARM -j 0 --tests
|
|
- cd ../testproject && mbed compile -m LPC1768 -t GCC_ARM -j 0 --source=. --source=mbed-os/TESTS/integration/basic
|
|
- cd ../testproject && export PYTHONPATH=$(readlink -f mbed-os) && python mbed-os/tools/test/config_test/config_test.py
|
|
|
|
dependencies:
|
|
pre:
|
|
- cd ../ && ls
|
|
- cd ../ && git clone https://github.com/ARMmbed/mbed-cli.git
|
|
- cd ../mbed-cli && pip install -e .
|
|
- cd ../ && mkdir testproject
|
|
- cd ../ && cp -r mbed-os testproject
|
|
- cd ../testproject && git init
|
|
- sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
|
|
- sudo apt-get -y update
|
|
- sudo apt-get -y install gcc-arm-none-eabi=4.9.3.2015q3-1precise1
|
|
override:
|
|
- cd ../testproject/mbed-os && pip install -r requirements.txt
|