forked from ARMmbed/mbed-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
30 lines (29 loc) · 1.44 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
test:
override:
- mbed --version
- py.test test
- mbed toolchain -G GCC_ARM
- mbed target -G K64F
- mbed config -G protocol ssh
- cd .tests && mbed new new-test
- cd .tests/new-test && mbed ls
- cd .tests/new-test && mbed compile --source=. --source=mbed-os/TESTS/integration/basic -j 0
- cd .tests/new-test && mbed test --compile -n mbed-os-tests-integration-basic -j 0
- cd .tests && mbed import https://developer.mbed.org/teams/Morpheus/code/mbed-Client-Morpheus-hg hg-test
- cd .tests/hg-test && mbed update b02527cafcde8612ff051fea57e9975aca598807 --clean
- cd .tests/hg-test && mbed update --clean
- cd .tests/hg-test && mbed compile -j 0
- cd .tests && mbed import https://developer.mbed.org/users/samux/code/USBSerial_HelloWorld bld-test
- cd .tests/bld-test/mbed && mbed update 85 --clean
- cd .tests/bld-test && mbed update --clean
- cd .tests/bld-test && mbed compile -m LPC1768 -j 0
dependencies:
pre:
- sudo pip install pytest
- git config --global user.email "[email protected]"
- git config --global user.name "mbed Test"
- echo -e "[ui]\nusername = mbed Test <[email protected]>\n" > ~/.hgrc
- mkdir .tests
- 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