Commit Graph

41 Commits

Author SHA1 Message Date
wmayer
0b7ce87340 allow to set console and unit test option without overriding each other
start unit tests in command line mode because the python pivy package is missing
2017-10-10 20:40:09 +02:00
Peter Lama
e78e408c5a Use macOS 10.11 travis environment
Better supported by homebrew
2017-10-02 01:19:25 +02:00
Peter Lama
bbbac656ee Fix macOS Qt4 build
- Dereference qt plugin symlinks
- Remove qt postgresql plugin because of missing dependency
2017-08-28 11:47:44 -03:00
looooo
d5bc835fec travis: build freecad with py3 2017-07-11 11:26:34 -03:00
wmayer
d60c49f5f0 try to fix travis build 2017-06-22 13:55:42 +02:00
triplus
db40264e5f Don't create AppImage on Travis 2017-06-03 10:37:26 +02:00
triplus
eb63dd2be2 Create AppImage on Travis
Please wait until merged:

https://github.com/probonopd/AppImages/pull/241

Forum discussion:

https://forum.freecadweb.org/viewtopic.php?f=4&t=22606
2017-05-30 18:03:55 +02:00
Bruce B. Lacey
4cf4a3954e Specify Eigen3 include path on macOS
* Orocos KDL depends upon Eigen 3.2, an older version than
    the Homebrew default, requiring that the EIGEN3_INCLUDE_DIR
    be specified to cmake providing the Eigen3 include path
2017-05-11 23:06:05 -07:00
Bruce B. Lacey
e5c9145aa0 ports-cache timeout
* Use travis_wait for prime_local_ports_cache to increase ports-cache
    time limit imposed when restoring a ports-cache
2017-03-15 10:24:01 -03:00
Bruce B. Lacey
b1cf7ec7ea Use CMAKE_PREFIX_PATH for Qt 5 builds
* To obivate creating Qt symlinks in /usr/local and simplify
    build/install
2017-03-07 13:49:59 -03:00
Bruce Lacey
97692a1021 Deploy artifacts when DEPLOY is true (#595)
* Deploy artifacts when DEPLOY is true

 * Do not build or deploy deployable artifacts unless
   the environment variable DEPLOY=1 (defaults to 0).
   This reduces build time for repos where deployment
   is not required or desired.

* Rename legacy Qt 4 formula

  * Cartr/Qt4 renamed legacy formula to avoid namespace conflicts
2017-03-05 14:56:23 -08:00
Bruce Lacey
8016cc49dc Use new FreeCAD/freecad homebrew formula API for Qt4 & Qt5 (#590) 2017-03-04 10:37:24 -08:00
Bruce B. Lacey
2e99990a64 Upgrade to Eigen 3.3.3 to avoid spurious compiler warnings 2017-03-01 15:33:52 -08:00
Kunda
b3a50294c5 Trivial typos
CmakeLists
.travis.yml
2017-03-01 15:33:52 -08:00
Bruce B. Lacey
f7babe06f1 Qt5: build FreeCAD for macOS with both Qt5 and Qt4
* Extend Travis config to build and deploy FreeCAD on
     macOS with Qt5, in addition to Qt4
   * Link PySide wrapper to <bundle>/MacOS
   * Warn on install_name_tool failures (work-around to
     confirmed Apple install_name_tool bug)
   * Reference XCTest "Current" framework versus "A"
2017-02-27 10:30:36 +01:00
Bruce B. Lacey
e8f80da3a1 Packaging: macOS relocation of libraries without children
* macOS install path must be <bundle>/MacOS in order for
    QLibrary to find qt.conf to set the correct bundle paths
  * Refactored to add an explicit graph traversal to set the
    dynamic loader id to handle the case where a bundled
    resource does not have any children
  * Fixed the case where rpaths were not removed from
    libraries without children
  * Improved diagnostics when bundling fail to finds
    a dependent library in the search path

Mantis: #0002886
Refs: #535
2017-02-23 20:28:17 -08:00
Bruce B. Lacey
e77211030e Use Gitter notifications
* Added a webhook notification for Gitter notifications.
   * Disabled email notifications because @yorik's configuration
     effectively did that but setting email to false is shorter
2017-01-18 20:06:42 -08:00
Bruce B. Lacey
fbd17b204e macOS builds on Travis Optimizations/Cleanup in advance of 10/31 Travis infrastructure changes
- Leverage FreeCAD/freecad.rb formula --with-packing-utils option
   - Set -DFREECAD_USE_EXTERNAL_PIVY=ON
   - Minimize brew update to reduce build time
   - Eject 3DxWare image after install for appdmg packaging compatability
   - Removed libgdal work-around (no longer needed)
   - Set the GitHub upload asset retention to 1 for sgrogan ;)
2016-10-11 21:43:37 -07:00
Bruce B. Lacey
65711e6883 Fix FindNETGEN.cmake to properly set netgen search path to HOMEBREW_PREFIX, when using homebrew, instead of the netgen cellar 2016-10-10 13:38:21 -03:00
Bruce B. Lacey
4404873dd7 Improved macOS CI builds (declarative dependencies, robust ports-cache, custom bottles, ports upgrade)
- Ports dependencies are now declared in FreeCAD formula hosted at FreeCAD/homebrew-freecad/freecad
  - Ports-cache will match on the homebrew major.minor sub-version to increase cache hits during CI builds
  - FreeCAD-specific bottles deployed to FreeCAD/homebrew-freecad (micro-caches)
  - Travis builds request Xcode6.4 on macOS 10.10 dist (10.9 dust is deprecated and will be removed from Travis on 10/31)
  - Salome Med-File and 3DxWare drivers upgraded

Additional details in forum post http://forum.freecadweb.org/viewtopic.php?f=10&t=17832
2016-10-06 21:25:55 -07:00
Bruce B. Lacey
da42733e2f Build FreeCAD for OS X with OCCT7 2016-07-06 15:05:40 -07:00
Bruce B. Lacey
a035289f1c Leverage ccache to reduce build times (both locally and on Travis-ci) 2016-07-04 15:17:58 -07:00
Bruce B. Lacey
ec066dd424 Remove gcc from build matrix because it always times out on Travis-CI 2016-06-30 16:45:35 -07:00
Bruce B. Lacey
5c709022cc Refactored brew installs to match 0.17 ports-cache 2016-06-15 22:34:10 +02:00
Stefan Tröger
005f04ff71 Travis: Add SMESH7 dependencies for OSX 2016-06-15 22:34:10 +02:00
Stefan Tröger
76db006203 Travis: Add new SMESH7 dependencies for Unix 2016-06-15 22:34:10 +02:00
Bruce B. Lacey
cc39168879 Increased travis git clone depth to fix version count mechanism 2016-05-20 10:18:19 -07:00
Yorik van Havre
2d8c3f8abb Removed myself from bloody annoying travis emails... 2016-04-26 22:10:36 -03:00
Bruce B. Lacey
6f65c743e8 Tuned Linux build matrix and coverage and restored git depth to 800
1) Added G++ to Linux build matrix
   2) Added BUILD_FEM_NETGEN and dependent packages to Linux build
   3) Fixed Python search on Linux (enable testing of multiple Python versions)

   NOTE: A git depth of 800 is needed for a correct commit count
2016-04-13 11:14:21 -07:00
Bruce B. Lacey
fb8c2e5627 First cut at 0.17 build matrix - move linux to trusty dist with clang 2016-04-10 16:13:54 -07:00
Bruce B. Lacey
19566510c4 Added OS X to Travis build configuration for unified Linux & OS X CI builds and modified README.md to display build status 2016-04-06 08:40:43 -07:00
Bruce Lacey
b223400795 Upgraded Plot module to comply with matplotlib 1.5.x API
Plot.py will check the version of matplotlib imported using the
distutils.version.StrictVersion class.  If the version is less
than 1.5.0, it will import the legacy gt4agg NavigationToolbar
from matplotlib, otherwise the 1.5.x version.

Resolves #2421
2016-01-26 22:31:29 -08:00
Przemo Firszt
17b076a0b3 Travis CI: Add internal tests
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-01 12:18:28 +02:00
Przemo Firszt
67dcc8f7be Travis: run FreeCAD and check log against .log_errors
All phrases that should trigger test build failure should be
added to .log_errors, one per line.

Tested-by: sgrogan
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-23 10:06:19 +02:00
Przemo Firszt
8c62e06a69 Travis: Add sudo make install
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-12 20:22:21 +01:00
Przemo Firszt
e94eff650b Tests: build with -j2
Suggested & tested by saso
2015-07-27 14:03:44 +01:00
Przemo Firszt
10f2b59d30 CI: Add libboost-python-dev
Latest travis build failed at cmake stage:

CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1202 (message):

  Unable to find the requested Boost libraries.

  Boost version: 1.46.1

  Boost include path: /usr/include

  The following Boost libraries could not be found:

          boost_python

  No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the

  directory containing Boost libraries or BOOST_ROOT to the location of

  Boost.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-24 10:00:50 +01:00
Przemo Firszt
7c1b4d6925 CI: Remove building on master only
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-23 15:47:29 +01:00
Przemo Firszt
8e3b09174c CI: Add a test to .travis.yml
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-23 10:52:06 -03:00
Przemo Firszt
3245209e62 Typu in .travis.yml
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-23 10:52:06 -03:00
Przemo Firszt
b712d44132 CI: Add initial .travis.yml file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-22 15:07:11 +01:00