Skip to content

Enabling travis CI #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 24, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
python:
- "2.7"

script:
# Tells mbed-cli that the current directory is a project even though you didnt do an `mbed import` (helps suppress some warning messages)
- mbed config root .
# Pull in mbed-os and other dependencies
- mbed deploy
- sudo pip install -r mbed-os/requirements.txt
- mbed compile --clean -m K64F -t GCC_ARM
- mbed compile --clean -m K64F -t GCC_ARM --profile debug

before_install:
- 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
# Print versions we use
- arm-none-eabi-gcc --version
- python --version

install:
- sudo pip install mbed-cli==0.9.10
- sudo pip install pytest
- sudo pip install pylint
- sudo pip install hypothesis
- sudo pip install mock