Skip to content

Commit 6bbaf3f

Browse files
committed
Merge pull request #47 from bridadan/master
Add Circle CI Testing
2 parents edaf2bf + bf80094 commit 6bbaf3f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

circle.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
test:
2+
override:
3+
- cd ../testproject && python ../neo/neo.py deploy
4+
- cd ../testproject && python ../neo/neo.py compile -m K64F -t GCC_ARM -j 0 --source=mbed-os/TESTS/integration/basic
5+
- cd ../testproject && python ../neo/neo.py compile -m LPC1768 -t GCC_ARM -j 0 --source=mbed-os/TESTS/integration/basic
6+
- cd ../testproject && python ../neo/neo.py compile -m NUCLEO_F401RE -t GCC_ARM -j 0 --source=mbed-os/TESTS/integration/basic
7+
- cd ../testproject && python ../neo/neo.py compile -m NRF51822 -t GCC_ARM -j 0 --source=mbed-os/TESTS/integration/basic
8+
9+
dependencies:
10+
pre:
11+
- cd ../ && ls
12+
- cd ../ && git clone https://github.com/ARMmbed/neo.git
13+
- cd ../ && mkdir testproject
14+
- cd ../ && cp -r mbed-os testproject
15+
- cd ../testproject && git init
16+
- sudo add-apt-repository -y ppa:team-gcc-arm-embedded/ppa
17+
- sudo apt-get -y update
18+
- sudo apt-get -y install gcc-arm-embedded
19+
override:
20+
- cd ../testproject/mbed-os && pip install -r requirements.txt

0 commit comments

Comments
 (0)