Commit graph

16 commits

Author SHA1 Message Date
William S Fulton
2504354489 Add ruby 3.0 testing
testflags tweak for C standard > c90

Only add -Wdeclaration-after-statement for > c90 as c99 allows
declarations after a statement.
2021-03-17 22:55:35 +00:00
Dmitry D. Chernov
c4ad3480bd Tools: Unify string quoting in the Python sources 2019-07-14 11:15:36 +10: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
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
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
Olly Betts
efa0c1de36 Fix travis for php->php5 rename 2016-12-02 13:25:28 +13: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
0075f4fff4 Scilab warnings as errors now fully turned on in Travis testing 2016-03-12 12:13:44 +00:00
William S Fulton
aa3e2c82c7 Use -Wmissing-field-initializers warning testing all languages on Travis 2015-12-19 16:14:01 +00:00
William S Fulton
fcb2ed1d10 Add -Wmissing-field-initializers to python Travis testing 2015-12-14 01:22:41 +00:00
Alexey Sokolov
3f0072c7ca Add R to testflags.py 2015-09-02 08:22:29 +01:00
Alexey Sokolov
9155ff0fbb Integrate OS X .travis.yml into master branch using multi-os feature.
http://docs.travis-ci.com/user/multi-os/

Expand testflags.py to support clang vs gcc, as clang is used on OS X.
2015-09-02 08:21:48 +01:00
William S Fulton
f815209c7d Travis testing c++11 and gcc5
Modify testflags.py to control the -std= option passed to gcc
Install new boost for c++11 with gcc5 testing
2015-07-10 22:02:14 +01:00
Olly Betts
6207b8bfa3 Move testflags.py into Tools/ 2015-04-16 10:55:34 +12:00
Renamed from testflags.py (Browse further)