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>
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>
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>