Private
Public Access
2
0

30 Commits

Author SHA1 Message Date
Alex T
f0f01c1bcc legal: address more EMO review comments
* Add copyright headers to XML and YAML files
    * Add (tm) to the first mention of Eclipse MRAA in the README
    * Rename COPYING to LICENSE.md per the standard Eclipse requirement

Signed-off-by: Alex T <alext.mkrs@gmail.com>
2025-12-08 08:31:03 -08:00
Mihai Tudor Panu
36572583e4 ci: remove really old node version builds from ci
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2020-10-28 09:41:43 -07:00
Mihai Tudor Panu
1a66c6dc6a python2: remove ability to build python2 bindings from project
This removes Python 2 package generation from the project to encourage safer development with Python 3 instead. Documentation for the generated modules switched to Python 3. Default interpreter is now Python 3 but can be overridden if needed for running the tests only on older environments.

Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2020-10-28 09:41:43 -07:00
Noel Eck
76c8b9a76e travis-ci: Added minimal travis job
Added an additional job to the CI matrix which does a minimal mraa build
(only C) which can run and pass/fail quickly.

Signed-off-by: Noel Eck <noel.eck@intel.com>
2018-03-13 12:10:34 -07:00
Brendan Le Foll
aa7006cce9 travis: Remove IPK & RPM builds
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2018-03-05 13:40:00 +01:00
Nicolas Oliver
c24a8f8b20 travis: build examples in additional jobs
Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com>
2017-10-19 13:55:09 -07:00
Nicolas Oliver
c4e23e1a41 sonar: remove sonar-scan from allow_failures
Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com>
2017-08-18 11:17:39 -07:00
Nicolas Oliver
e0a1862ce3 Travis CI and Documentation Generation improvements
* Use docker images from docker hub instead of building them on Travis
* Fix doxygen warnings for C/C++ Documentation
* Fix examples inclusion in documentation
* Modify Travis build matrix to include stages and additional jobs
* Update doxygen2jsdoc submodule
* Add doxyport submodule
* Generate documentation for each language in Travis
* Add sonar.java.binaries to sonar-scan.sh

Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com>
2017-08-10 10:47:11 -03:00
Nicolas Oliver
189b959012 sonar: modify sonar-scan.sh script
Prevent execution on non configured env & add sonar target to allowed failures
in travis

Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2017-07-21 08:46:45 +02:00
Nicolas Oliver
4bedd68c4e travis: improve docker images generation for building
Make a build heriarchy to reduce images size.
Add Android Thing Build.

Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2017-07-21 08:46:45 +02:00
Alex Tereschenko
fc00fa20d2 static code analysis: introduce automated scans via SonarCloud
This adds Travis and Docker configurations for automated scans,
both for master branch and internal PRs.

External PRs won't be checked due to security concerns
(and Travis limitation related to that) - GH and SonarCloud tokens
are not propagated to those.

An organization and project must be created in SonarCloud for reporting,
as well as a technical GH user with mraa repo commit permission, to set
PR statuses in the "checks" section.

Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com>
2017-07-03 20:23:10 +02:00
Nicolas Oliver
000746c20d build config: fix parameter configuration for docker-compose
We were incorrectly using clang all the time, overriding gcc.
This also brings newer version of docker-compose.

Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com>
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com>
2017-06-10 18:15:09 +02:00
Nicolas Oliver
79da382832 travis: migrate travis plans to run in a Docker container
Add Dockerfile to create build environment for mraa
Add docker-compose.yaml file to easily execute build tasks
Add .dockerignore file
Modify .travis.yaml file to use docker and docker-compose for building
Modify package.json.cmake to run a simple load test for node.js

Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2017-05-31 17:17:39 +02:00
Alex Tereschenko
6d5b2c0642 .travis.yml: remove Node.js 0.10 and 0.12 - no longer supported
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com>
2017-05-06 14:44:48 +02:00
Mihai Tudor Panu
d7fb6c5af9 travis.yml: use TRAVIS_BUILD_DIR for node-gyp path
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2017-04-20 12:27:30 -07:00
Thomas Ingleby
3bb17bb7b9 travis: use mirror of swig-3.0.10.tar.gz
closes #595

Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
2016-10-31 14:31:18 +01:00
Alex Tereschenko
636c9feb4f travis: add builds for mock
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-08-30 12:32:20 +01:00
Brendan Le Foll
b4919de733 .travis.yml: Add npmpkg travis builds
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-08-10 11:21:54 +01:00
Houman Brinjcargorabi
5d94d0a13c travisl.yml: Added the ability to build with json plat to the tests
Signed-off-by: Houman Brinjcargorabi <houman.brinjcargorabi@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-07-27 11:33:29 +01:00
Jamie Tanna
a22ff43f59 travis-ci: Update infrastructure to Trusty Tahr
Update Travis to use the latest version of Ubuntu: 14.04.3 Trusty Tahr.

- Fix issue where Node v0.10 did not get installed, therefore builds
  would fail. In addition, don't hardcode the path to Node v0.10.36 as
  there have since been updates to v0.10.
- Fix issue where CMake cannot find the PythonLibs folder, fixed via
  https://github.com/travis-ci/travis-ci/issues/5326
- Ensure that we have the Python2 development headers

Signed-off-by: Jamie Tanna <jamie@jamietanna.co.uk>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-07-08 16:01:30 +01:00
Brendan Le Foll
dfecc68320 .travis.yml: add python3 support
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-06-29 11:20:46 +01:00
Brendan Le Foll
b9a6d2a86a .travis.yml: build our own version of swig
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-06-29 11:20:46 +01:00
Brendan Le Foll
bc178b27ee .travis.yml: move to travis containers
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-06-29 11:20:40 +01:00
Noel Eck
905abdec7c travis-ci: Updates to ensure MRAA builds with clang.
The MRAA clang build was getting overridden with gcc.
This commit allows MRAA to build with clang and adds nodejs
0.10 to the build matrix.  Note, this means 8 builds
(2 compilers x 4 versions of nodejs).

    * Added compiler directive for clang/gcc.

    * Added build for node010.

    * Added make install to cover the MRAA install.

Signed-off-by: Noel Eck <noel.eck@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-05-16 08:59:19 +01:00
Brendan Le Foll
5cfddd6bcc .travis.yml: Fix NODE_ROOT_PATH
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-03-22 18:12:30 +00:00
Brendan Le Foll
a17079c460 firmata: install node_modules to where cmake guessed node was
This does now mean that modules won't go to /usr/local with the default prefix
but may instead try to install in /usr/lib. However if using nvm they should go
to the right place as long as NODE_ROOT_DIR is set correctly. This commit
changes NODE_ROOT_DIR to actually refer to the root directory of node rather
than the include dir which is what FindNodejs gets

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-03-22 18:12:30 +00:00
Brendan Le Foll
1f41b2f97e .travis.yml: Add node.js versions to build matrix
This adds node5, node4 & 0.12 to build matrix and updates clang & gcc if
required (node4/5)

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-02-02 17:21:40 +00:00
Mihai Tudor Panu
b1016635c3 .travis.yml: enabled JAVA 8 builds with gcc
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-12-02 15:03:30 +00:00
Mihai Tudor Panu
18249d5ecc .travis.yml: updated travis file to use swig3 and build node.js bindings too
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-10-01 14:32:12 +01:00
Brendan Le Foll
f5d6a6dc18 .travis.yml: Add travis file
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-07-08 14:16:47 +01:00