Commit graph

331 commits

Author SHA1 Message Date
Dmitry D. Chernov
c4ad3480bd Tools: Unify string quoting in the Python sources 2019-07-14 11:15:36 +10:00
William S Fulton
959c228381 Test clang 10.0.1 C++17 - xcode 10.2 2019-06-27 07:40:49 +01:00
William S Fulton
9bca8ae27e
Merge pull request #1569 from TekuConcept/bug/js-travisci-v4
Fixes Travis CI Build Errors With Node-v4
2019-06-27 07:30:15 +01:00
Chris Walker
99b35b099a Fixes Travis CI Build Errors With Node-v4 2019-06-26 01:10:38 -06:00
William S Fulton
2cd59b636e Travis Octave testing changes
- Keep testing Octave 4.0 on Xenial, but the Octave headers break the C++11
  tests, so just test C++98.
- Drop Octave 4.2 testing on Trusty.
- Keep Octave 4.4 testing on Trusty - it is the only C++11 Octave testing
  done and is just fast enough to beat the 50 minute limit.
- Add latest Octave version (5.1) testing by using MacOS and brew. It takes
  about 49 minutes to run for C++98 testing.
  Unfortunately it takes longer than the Travis 50 minute limit to test C++11.

I can't find a Xenial or MacOS solution for testing Octave and C++11, so we'll
keep it on Travis for now. Octave is available as a Flatpak's, but Flatpak
doesn't work on Travis as it requires a reboot after installing the flatpak
package.
2019-05-24 19:30:47 +01:00
William S Fulton
f06330e720 Move Scilab Travis testing from trusty to xenial 2019-05-07 23:05:53 +01:00
William S Fulton
48e61eea1d Travis gcc version refactor
Use GCC env variable to hold gcc version to install instead of SWIG_CC
and SWIG_CXX.
2019-05-02 21:57:53 +01:00
William S Fulton
6606a164f0 Migrate Travis tests from trusty to xenial
Ubuntu trusty 14.04 is end of life April 2019.
Ubuntu xenial 16.04 is the main platform for Travis now.
Some languages are not working on xenial, so I've left them on trusty
for now.
2019-04-30 23:44:33 +01:00
William S Fulton
9c3faeb0ee Travis testing of Go changes
Use gimme to install a version of Go to test. Travis already uses gimme
to pre-install a version of Go.
Switch some of the Go testing from travis to xenial.
2019-04-26 19:48:33 +01:00
William S Fulton
31b3b782a1 Possible fix for MinGW MSYS configure script error from ax_boost_base.m4
Issue #1435
2019-04-15 23:28:25 +01:00
William S Fulton
e15c112480 Update ax_compare_version.m4 to latest from autoconf archive
Purely cosmetic changes
Updated to serial #13
2019-04-11 19:56:30 +01:00
William S Fulton
1955758f27 Update ax_path_generic.m4 to latest from autoconf archive
Purely cosmetic change
Updated to serial #17.
2019-04-11 19:51:23 +01:00
William S Fulton
892f0fdc6b Update ax_boost_base.m4 to latest from autoconf archive
Updated to serial #45.
This is in preparation to a possible fix for issue #1435.
The use of AS_CASE requires autoconf-2.60 or later.
2019-04-11 19:48:06 +01:00
William S Fulton
d6746379a1 Use wine on Linux to test executable when building windows zip file 2019-04-09 06:50:25 +01:00
William S Fulton
ad60edef57 Make obs-buildlogs.py Python3 compatible 2019-04-08 19:20:50 +01:00
William S Fulton
66d5d76a29 mkrelease.py improvements
Make python3 compatible.
Add optional command line arguments.
2019-04-08 19:20:50 +01:00
William S Fulton
320254eb14 Port mkdist.py to Python 3 2019-04-08 19:20:50 +01:00
William S Fulton
3d99cc6b2f Add a few options to the mkdist.py script for building the distribution tarball 2019-04-08 19:20:50 +01:00
William S Fulton
e5a3c1e28c MzScheme and Travis CXXFLAGS/CFLAGS support
mzc seems to use the CFLAGS, but not the CXXFLAGS env variables.
Pass the CXXFLAGS as ++ccf options when compiling c++.
2019-02-10 10:35:27 +00:00
William S Fulton
f7648051fd Add mzscheme to Travis testing
This is an experimental language so needs to go under allow_failures.
2019-02-09 17:45:59 +00:00
William S Fulton
ffb7b30be9 Fix gdb error: Undefined command: "Printf".
The swig.gdb file provides the swigprint and locswigprint user-defined
commands which stopped working somewhere around gdb 8.0 - 8.2.
```
(gdb) swigprint n
Undefined command: "Printf".  Try "help".
(gdb) locswigprint n
Undefined command: "Printf".  Try "help".
(gdb)
```

I couldn't find any mention of gdb's Printf, but replacing Printf with
printf works and is documented at
https://sourceware.org/gdb/download/onlinedocs/gdb/Output.html#Output

Fixes issue #1420

[skip ci]
2019-01-18 07:35:47 +00:00
Zackery Spytz
ded4abab62 Some renaming
Add OCaml to Tools/testflags.py.
2019-01-11 21:31:42 -07:00
William S Fulton
779d76ca6a Correct Travis Ruby compilation flags 2018-08-07 06:50:39 +01:00
William S Fulton
4e523fb823 Fix Travis Ruby MacOS builds with -Wno-deprecated-declarations
Work around Ruby on MacOS Xcode 9.4 misconfiguration defining 'isfinite'
to deprecated 'finite'. Example warning:

li_std_list_wrap.cxx:7197:9: error: 'finite' is deprecated: first deprecated in macOS 10.9 [-Werror,-Wdeprecated-declarations]
    if (SWIG_Float_Overflow_Check(v)) {
        ^
li_std_list_wrap.cxx:7156:73: note: expanded from macro 'SWIG_Float_Overflow_Check'
                                                                        ^
li_std_list_wrap.cxx:7122:29: note: expanded from macro 'SWIG_isfinite'
                            ^
/Users/travis/.rvm/rubies/ruby-2.4.3/include/ruby-2.4.0/ruby/missing.h:180:24: note: expanded from macro 'isfinite'
                       ^
/usr/include/math.h:757:12: note: 'finite' has been explicitly marked deprecated here
extern int finite(double) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_9, __IPHONE_NA, __IPHONE_NA);
2018-08-06 19:02:21 +01:00
William S Fulton
4f7106cda2 Merge branch 'js-v8-52-tests'
* js-v8-52-tests:
  fixed nvm
  node tests: use provided version if present
  travis tests for different node versions
  fix travis tests
  Test NodeJS 4, 6, 8, and 10
  Remove warnings on Node 6.x aka V8 5.0 and 5.1
  Add Node 7.x aka V8 5.2+ support
2018-08-02 07:10:55 +01:00
furylynx
bb73a1ce52 fixed nvm 2018-07-21 21:19:28 +02:00
furylynx
2785313706 node tests: use provided version if present 2018-07-21 16:41:06 +02:00
furylynx
1cbabb2e06 travis tests for different node versions 2018-07-21 16:17:54 +02:00
furylynx
7f886fd4fc fix travis tests 2018-07-21 12:47:03 +02:00
Olly Betts
d6d5db122b Remove support for PHP5
PHP5 is no longer actively supported by the PHP developers and security
support for it ends completely at the end of 2018, so it doesn't make
sense to include support for it in the upcoming SWIG 4.0.0 release.

See #701.
2018-06-07 18:09:03 +12:00
luz.paz
6f69830321 follow-up typos 2018-05-17 10:26:00 -04:00
William S Fulton
1c46662c39 Enhance Travis testing to use gcc 8 and test C++17 and C17 2018-05-05 07:48:24 +01:00
Jacob Gillespie
6c78195d75
Merge branch 'master' into js-v8-52-tests 2018-05-01 21:26:59 -05:00
Jacob Gillespie
0ba153c892
Test NodeJS 4, 6, 8, and 10 2018-05-01 21:22:20 -05:00
William S Fulton
d4badb3e1d
Travis OSX Python 3 build fix for recent changes in brew 2018-03-03 14:31:03 +00:00
William S Fulton
0beec3cf73 Travis testing: use new deadsnakes repository for testing various python versions
See https://github.com/deadsnakes/issues/issues/53
2017-12-31 16:19:40 +00:00
William S Fulton
d1e5f1e0c8 Switch to using pycodestyle instead of pep8 2017-12-31 16:17:59 +00:00
William S Fulton
6981abc440 Travis test gcc-7.2 and c++-17 2017-10-07 23:56:33 +01:00
William S Fulton
cac396eb56 Restore node testing on Travis (for Ubuntu Trusty) 2017-09-12 08:32:49 +01:00
William S Fulton
065c06159e Travis fix for pip install pep8
Fix for recent Travis image cleanup.
Issue https://github.com/travis-ci/travis-ci/issues/8378
2017-09-12 07:48:25 +01:00
William S Fulton
ddf2349881 Octave Travis install workaround tweak
Workaround only needed for kwwette installs
2017-03-24 19:39:05 +00:00
Karl Wette
11ca71fc91 [CI] Fix Octave 4.2 CI job
- Travis adds external PPAs which contain newer versions of packages
  than in baseline trusty. These newer packages prevent some of the
  Octave packages in ppa:kwwette/octave, which rely on the older
  packages in trusty, from installing. To prevent these kind of
  interactions arising, clean out all external PPAs added by Travis
  before installing Octave.
2017-03-09 20:18:11 +01:00
William S Fulton
f120fa44f6 Use travis_retry for commands that may fail due to network issues 2017-02-10 19:50:10 +00:00
William S Fulton
29b22728f7 Improve nuget installed message on Appveyor 2017-02-04 19:18:54 +00:00
Karl Wette
52455b81d2 Octave: move Travis build over to trusty
- trusty has Octave version 3.8
- ppa:kwwette/octaves has Octave version 4.0
- Update Doc/Manual/Octave.html
2017-01-22 11:53:12 +13:00
William S Fulton
b9ad35733a Install newer version of pep8 on Travis 2016-12-11 22:27:15 +00:00
William S Fulton
3546d096a7 Test php 7.0 and 7.1 on Travis
- php-7.1 set as failing for now due to one broken example (references)
- Look for php 7.1 in configure.ac.
2016-12-04 22:48:09 +00:00
Olly Betts
efa0c1de36 Fix travis for php->php5 rename 2016-12-02 13:25:28 +13:00
William S Fulton
a147e7bf5a Travis Trusty testing fix ups
Go back to Travis testing nodejs on Precise - can't seem to avoid
node-gyp incompatibility that does not happens in normal Ubuntu Trusty.
Ruby and Python 3.4 testing corrections for testing on Travis.
2016-10-17 08:00:52 +01:00
William S Fulton
3cd70db8ec Migrate Linux Travis testing from Precise to Trusty
Default gcc compiler changes from gcc-4.6.3 to gcc-4.8.4
Migrate target languages except Octave for which there are no equivalent
packages for 3.2 and 4.0
Still test gcc on Precise (errors test-suite only)
2016-10-17 08:00:52 +01:00