Toyomasa Watarai
/
Mbed-example-WS-W27
Mbed Cloud example program for workshop in W27 2018.
Diff: sd-driver/.travis.yml
- Revision:
- 0:119624335925
diff -r 000000000000 -r 119624335925 sd-driver/.travis.yml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sd-driver/.travis.yml Sat Jun 30 01:40:30 2018 +0000 @@ -0,0 +1,24 @@ +script: + # Check that examples compile + - sed -n '/``` cpp/,${/```$/q;/```/d;p}' README.md > main.cpp && + PYTHONPATH=mbed-os python mbed-os/tools/make.py -t GCC_ARM -m K64F + --source=. --build=BUILD/K64F/GCC_ARM -j0 && + rm main.cpp + + # Check that tests compile + - rm -rf BUILD && PYTHONPATH=mbed-os python mbed-os/tools/test.py + -t GCC_ARM -m K64F --source=. --build=BUILD/TESTS/K64F/GCC_ARM -j0 + -n tests* + +python: + - "2.7" + +install: + # Get arm-none-eabi-gcc + - sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded + - sudo apt-get update -qq + - sudo apt-get install -qq gcc-arm-none-eabi --force-yes + # Get dependencies + - git clone https://github.com/armmbed/mbed-os.git + # Install python dependencies + - pip install --user -r mbed-os/requirements.txt