Skip to content

Commit c04135e

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

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.travis.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+
- sudo pip install -r mbed-os/requirements.txt
10+
- mbed compile --clean -m K64F -t GCC_ARM
11+
- mbed compile --clean -m K64F -t GCC_ARM --profile debug
12+
13+
before_install:
14+
- sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
15+
- sudo apt-get update -qq
16+
- sudo apt-get install -qq gcc-arm-none-eabi --force-yes
17+
# Print versions we use
18+
- arm-none-eabi-gcc --version
19+
- python --version
20+
21+
install:
22+
- sudo pip install mbed-cli==0.9.10
23+
- sudo pip install pytest
24+
- sudo pip install pylint
25+
- sudo pip install hypothesis
26+
- sudo pip install mock
27+

0 commit comments

Comments
 (0)