Skip to content

Continuous Integration Features #1040

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 12 commits into from
Apr 21, 2015
Merged

Continuous Integration Features #1040

merged 12 commits into from
Apr 21, 2015

Conversation

bridadan
Copy link
Contributor

This pull request adds some features that are useful for integrating our build system with Continuous Integration tools. These features include:

  • Provide a toolchain filter for build_release script to allow for easy compilation on multiple platforms (ex. IAR is not supported on Linux, so this is not included when building on Linux)
  • Create HTML build report specifically for mbed library and tests (templates built with jinja2)
  • Reorganize test building by moving the building of required libraries (RTOS, Ethernet, etc) to the up front, before any tests are built. This removes redundancy and improves reporting.

I have been testing this on my own VMs and everything seems to be running smoothly. Let me know if you have any thoughts on how things have been organized.

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 15, 2015

Travis failed with an error as it installed only colorama and pretty table.

ImportError: No module named jinja2

@bridadan
Copy link
Contributor Author

I realize the irony in saying I'm not sure where to fix this, given that Travis is a Continuous Integration service :)

Is there a script that manages the pip module installation? Or does it run the setup.py in the repository root?

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 17, 2015

@bridadan :-))))) Here .travis.yaml file:

--- 
python: 
  - "2.7"
script: "python workspace_tools/build_travis.py"
install:
  - "sudo $TRAVIS_BUILD_DIR/travis/install_dependencies.sh > /dev/null"
  - sudo pip install colorama
  - sudo pip install prettytable

Add there jinja2

@bridadan
Copy link
Contributor Author

Ah, don't know how I missed it :P I pushed the changes and it looks like it's passing

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 17, 2015

OK great :)

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 21, 2015

I run one jenkins job with build_release script from this PR, all ok. Thanks

0xc0170 added a commit that referenced this pull request Apr 21, 2015
Continuous Integration Features
@0xc0170 0xc0170 merged commit 289b806 into ARMmbed:master Apr 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants