Skip to content

Commit b1333e2

Browse files
author
Mohammad Azim Khan
committed
Enabling travis CI
1 parent 9b2d2a7 commit b1333e2

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.travis.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
python:
2+
- "2.7"
3+
4+
script:
5+
# Tells mbed-cli that the current directory is a project even though you didnt do an `mbed import` (helps suppress some warning messages)
6+
mbed config root .
7+
# Pull in mbed-os and other dependencies
8+
mbed deploy
9+
mbed compile --clean -m K64F -t GCC_ARM
10+
mbed compile --clean -m K64F -t GCC_ARM --profile debug
11+
12+
before_install:
13+
- sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
14+
- sudo apt-get update -qq
15+
- sudo apt-get install -qq gcc-arm-none-eabi --force-yes
16+
# Print versions we use
17+
- arm-none-eabi-gcc --version
18+
- python --version
19+
20+
install:
21+
- sudo pip install mbed-cli
22+

0 commit comments

Comments
 (0)