Commit Graph

68 Commits

Author SHA1 Message Date
Abdullah Tahiri
0646cefebe Travis: Make winpty failure not fail the build 2019-06-03 18:18:07 +02:00
abdullahtahiriyo
510c3a3f7c Travis winpty (#2214)
* Travis: FreeCAD tests

invert bars in direct call

* Travis: Run FreeCADCmd through winpty

* Travis: stdin is not a tty

* Travis: winpty -Xallow-non-tty

* Travis: winpty -Xplain

* Travis: Force build failure on any error during testing

* Travis: Use grep/tee to determine failure

* Travis: Correct build output
2019-05-27 09:58:48 +02:00
Markus Reitboeck
f96edcc3ea (-) fix appveyor build
project was renamed in commit c2e7285c724b4b68826692aabd8929e6b22c615f
2019-05-26 11:21:32 +02:00
Abdullah Tahiri
d76c1c36d6 Travis: filter out 2019-05-02 19:55:31 +02:00
abdullahtahiriyo
4e9d45ed92 Travis: Move building to external batch script (#2131)
* Travis: Move building to external batch script

* Travis: double quotes to escape route

* Travis: use cmd.exe to call batch file
2019-05-02 17:55:03 +02:00
Abdullah Tahiri
fcddcc8f4f Travis: Use & between vars sourcing and msbuild 2019-05-02 16:45:07 +02:00
Abdullah Tahiri
9b28456d3b Travis force wait 60 minutes 2019-05-02 14:45:35 +02:00
Abdullah Tahiri
1b29dd2d49 msbuild verbose and logo 2019-05-02 14:00:03 +02:00
Abdullah Tahiri
c81f218099 disable travis clcache debug 2019-05-02 11:05:32 +02:00
Abdullah Tahiri
a362c0419b Travis: enable clcache debug 2019-05-02 10:25:11 +02:00
abdullahtahiriyo
e89aa724ab Travis windows build (#2110)
Travis windows build
2019-05-02 07:21:45 +02:00
cclauss
070a79e271 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
e31ed6a7de 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
18a68873d3 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
d903736452 Travis CI: matrix: allow_failures: python: 3.7 2019-01-07 12:13:34 -02:00
cclauss
3868f4db7e Travis CI: The real Python 3.7 in a separate parallel run 2019-01-07 12:13:34 -02:00
cclauss
41b74c62c0 python3 -m pip install flake8 2019-01-07 12:13:34 -02:00
cclauss
690ef69791 Travis CI: Use flake8 to find Python syntax errors 2019-01-07 12:13:34 -02:00
Przemo Firszt
fef65f5d68 Comment out osx builds
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2018-12-08 11:26:14 -03:00
Yorik van Havre
5138c2ef59 Added encrypted chunk.io key to travis file 2018-11-30 10:10:47 -02:00
Priit Laes
afe2305762 travis: ccache compilation also requires xsltproc 2018-10-08 10:40:13 +02:00
Priit Laes
21fc16aadd travis: Install eigen3 via package from Ubuntu repository 2018-10-08 10:40:03 +02:00
Priit Laes
1e017d3340 travis: Drop references to Ubuntu 12.04 2018-10-08 10:39:53 +02:00
Priit Laes
26b3dc1779 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
ff2574fdf6 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
7c19cee3c6 Fix travis macOS build 2018-03-29 14:48:03 -07:00
Peter Lama
d26c3966bd 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
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