Commit graph

339 commits

Author SHA1 Message Date
William S Fulton
ba0154d90a Fix node 6 and 8 testing on Travis
Later versions of node-gyp (7.0.0) being installed by npm don't seem
to work with node 6 and 8.
2020-06-06 10:29:41 +01:00
William S Fulton
430a44e075 Merge branch 'ruby-bigendian'
* ruby-bigendian:
  Travis ruby s390x (big endian) architecture testing
  Install libpcre3-dev for Linux builds
  Don't fail the build if CPU model or memory can't be detected
  Switch one of Travis CI Ruby builds to use s390x arch
2020-06-02 23:27:05 +01:00
Karl Wette
df8bb1feeb Tools/travis-osx-install.sh: disable 'brew cleanup' to save Travis job run time 2020-05-31 06:43:15 +10:00
Karl Wette
d8d0466e8d Tools/travis-osx-install.sh: use Tools/brew-install to install Octave 2020-05-31 06:43:15 +10:00
Vadim Zeitlin
7fd9d94a9b Install libpcre3-dev for Linux builds
This package contains the required PCRE library development files and
may be already installed, as is apparently the case for amd64 systems,
but also may not be, as when using s390x architecture.
2020-05-26 01:23:28 +02:00
William S Fulton
666752d521 Test multiple versions of D on Travis.
2.081 is reportedly broken and 2.086 was tested and fixed in #1594.
2020-01-07 18:59:17 +00:00
William S Fulton
5259082cb1 Test Ruby 2.7 on Travis
Generated code does not yet compile, so set as allow_failure for now
rvm master currently needs to be installed when testing ruby-2.7 on Travis
2019-12-30 23:17:35 +00:00
Karl Wette
e4c38f0f67 Octave: remove use of ppa:kwwette/octaves 2019-10-16 18:17:29 +13:00
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