Commit graph

316 commits

Author SHA1 Message Date
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
William S Fulton
a4e63a2cfc Workaround all Travis OSX builds reporting a failure
Use 'set -e' just for catching errors in the travis install scripts
and not after the scripts which use 'source' in .travis.yml. This is
needed since Travis upgraded Xcode to 7.3 which has some errors due to
bad exit code in Travis scripts using rvm, see:
https://github.com/travis-ci/travis-ci/issues/6307
https://github.com/travis-ci/travis-ci/issues/6522
2016-10-16 12:28:15 +01:00
William S Fulton
d8434e47ac Updates for Travis testing where the default Xcode changed from 6.1 to 7.3
See https://blog.travis-ci.com/2016-10-04-osx-73-default-image-live/
2016-10-16 12:17:53 +01:00
Olly Betts
5e63738f75 Remove ancient debian directory
It's not been touched since 2006, won't work with modern versions
of the debian packaging tools, and relies on a script which isn't
in git.  Debian packaging is maintained in a separate VCS by the
Debian maintainer.  Fixes #774, reported by Nico Schlömer.
2016-08-30 14:38:17 +12:00
William S Fulton
5cb545aefa statically link to gcc windows runtimes when cross compiling windows binaries 2016-05-29 12:17:06 +01:00
William S Fulton
dbb64cc458 No need to detect languages when building Windows binary 2016-05-29 00:46:00 +01:00
William S Fulton
4dda14f906 Fix new mingw detection 2016-05-28 23:59:38 +01:00
William S Fulton
ed44958576 Update windows on linux build to use i686-w64-ming32 2016-05-28 23:46:07 +01:00
William S Fulton
1f0acadcf0 Add gcc-6 Travis testing and use gcc-5.3 instead of gcc-5.2
Test Python, Java and C# with gcc-6
Test gcc-5 on Trusty instead of on Precise to pick up gcc-5.3 instead of gcc-5.2
2016-05-28 20:13:20 +01:00
William S Fulton
e28b7f1fcf Workaround cgo declarations after statements in Go Travis tests
These should be fixed when go-1.7 is released
2016-05-02 21:28:12 +01:00
William S Fulton
8666b99e74 Test Go 1.5 on Ubuntu Trusty on Travis
1.5 is the default version on Trusty (VER=1.5 added just for display on Travis)
2016-05-02 21:24:48 +01:00
William S Fulton
6db5556456 Add Lua 5.3 testing on Travis 2016-05-01 12:43:47 +01:00
William S Fulton
0075f4fff4 Scilab warnings as errors now fully turned on in Travis testing 2016-03-12 12:13:44 +00:00
Alec Cooper
b83aa57a54 Travis uses rvm, use it to install ruby 2.3.0 2016-02-05 22:00:41 -05:00
William S Fulton
b5b89c1294 Remove Travis 'gem pristine --all'
We'll have to live with the gem warnings
2016-02-04 08:36:26 +00:00
William S Fulton
a37fcb8f82 Fix Travis Ruby gem pristine warnings
Suppresses these for each example/test-suite:
Ignoring executable-hooks-1.3.2 because its extensions are not built.  Try: gem pristine executable-hooks --version 1.3.2
Ignoring gem-wrappers-1.2.7 because its extensions are not built.  Try: gem pristine gem-wrappers --version 1.2.7
Ignoring nokogiri-1.6.6.2 because its extensions are not built.  Try: gem pristine nokogiri --version 1.6.6.2
2016-02-04 08:35:41 +00:00