Commit Graph

57 Commits

Author SHA1 Message Date
cclauss
cf5a045792 fast_finish: true
Mark the build as passing even if the allow_failures macOS job is still running.
* https://blog.travis-ci.com/2013-11-27-fast-finishing-builds
2019-01-07 12:13:34 -02:00
cclauss
4ccdabd004 macOS: drop the old osx_image: xcode7.3
xcode9.4 is the Travis default and 10.1 is the latest available.
* https://docs.travis-ci.com/user/reference/osx/#os-x-version
2019-01-07 12:13:34 -02:00
cclauss
05572ba49e Also run the osx build in allow_failures mode
This let's us see where things are failing without failing the entire Travis build.
* https://docs.travis-ci.com/user/customizing-the-build/#rows-that-are-allowed-to-fail
2019-01-07 12:13:34 -02:00
cclauss
f503314132 Travis CI: matrix: allow_failures: python: 3.7 2019-01-07 12:13:34 -02:00
cclauss
b7ccf8da00 Travis CI: The real Python 3.7 in a separate parallel run 2019-01-07 12:13:34 -02:00
cclauss
bdc0509372 python3 -m pip install flake8 2019-01-07 12:13:34 -02:00
cclauss
53a2feb6c0 Travis CI: Use flake8 to find Python syntax errors 2019-01-07 12:13:34 -02:00
Przemo Firszt
9d395235b9 Comment out osx builds
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2018-12-08 11:26:14 -03:00
Yorik van Havre
9e870bec2e Added encrypted chunk.io key to travis file 2018-11-30 10:10:47 -02:00
Priit Laes
64e9c4ea5a travis: ccache compilation also requires xsltproc 2018-10-08 10:40:13 +02:00
Priit Laes
c6b1bdd297 travis: Install eigen3 via package from Ubuntu repository 2018-10-08 10:40:03 +02:00
Priit Laes
ba85adf78c travis: Drop references to Ubuntu 12.04 2018-10-08 10:39:53 +02:00
Priit Laes
ee3456fd88 travis: Reduce number of packages installed via apt
Use `--no-install-recommends` to only install needed packages.
2018-10-08 10:39:35 +02:00
triplus
f3a514b44b Deploy Travis builds to 0.18
https://forum.freecadweb.org/viewtopic.php?p=227147#p227242
2018-04-13 09:44:30 -03:00
Peter Lama
ec6702e649 Fix travis macOS build 2018-03-29 14:48:03 -07:00
Peter Lama
178e5ddf87 Only build Qt5 version for macOS on travis
There is no need to continue to build the Qt4 version for macOS
since it has usability issues that have been fixed with Qt5 and
the fewer macOS builds the better: https://blog.travis-ci.com/2017-09-22-macos-update
2017-10-30 13:59:24 -02:00
wmayer
3b479e00c2 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
842480d3e7 Use macOS 10.11 travis environment
Better supported by homebrew
2017-10-02 01:19:25 +02:00
Peter Lama
c0ad3fec63 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
a689403407 travis: build freecad with py3 2017-07-11 11:26:34 -03:00
wmayer
f2127c3712 try to fix travis build 2017-06-22 13:55:42 +02:00
triplus
3168f8ed3f Don't create AppImage on Travis 2017-06-03 10:37:26 +02:00
triplus
d31de98c4b 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
42d6b1b1c9 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
0b2ac1d9f6 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
8300306f82 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
6612e7c753 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
8f5c7b447a Use new FreeCAD/freecad homebrew formula API for Qt4 & Qt5 (#590) 2017-03-04 10:37:24 -08:00
Bruce B. Lacey
6844e7ed29 Upgrade to Eigen 3.3.3 to avoid spurious compiler warnings 2017-03-01 15:33:52 -08:00
Kunda
a3e01788df Trivial typos
CmakeLists
.travis.yml
2017-03-01 15:33:52 -08:00
Bruce B. Lacey
5084b96759 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
21080af2a7 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
6ead01eb11 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
ceb75f0afd 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
77cfdfffa6 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
2707ea9af8 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
a37cfdd512 Build FreeCAD for OS X with OCCT7 2016-07-06 15:05:40 -07:00
Bruce B. Lacey
ca94f64c75 Leverage ccache to reduce build times (both locally and on Travis-ci) 2016-07-04 15:17:58 -07:00
Bruce B. Lacey
65433a2fae Remove gcc from build matrix because it always times out on Travis-CI 2016-06-30 16:45:35 -07:00
Bruce B. Lacey
e982084e3f Refactored brew installs to match 0.17 ports-cache 2016-06-15 22:34:10 +02:00
Stefan Tröger
59803ffc67 Travis: Add SMESH7 dependencies for OSX 2016-06-15 22:34:10 +02:00
Stefan Tröger
2fc6cc5b29 Travis: Add new SMESH7 dependencies for Unix 2016-06-15 22:34:10 +02:00
Bruce B. Lacey
bb1043584b Increased travis git clone depth to fix version count mechanism 2016-05-20 10:18:19 -07:00
Yorik van Havre
76ce101a9b Removed myself from bloody annoying travis emails... 2016-04-26 22:10:36 -03:00
Bruce B. Lacey
2d07db4520 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
0eaf34ce18 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
e4c9451685 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
9f907f5d1b 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
4b00fe91ab Travis CI: Add internal tests
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-01 12:18:28 +02:00
Przemo Firszt
e544a66086 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