summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2019-05-24 19:27:47 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2019-05-24 19:30:47 +0100
commit2cd59b636e6da442cf6bc9dc8c09aa9f33df2a51 (patch)
treeb7b9f8009759228caa00a46086cf9ac7f2a7c764
parent6489730892ff376d64deb9c5dff09407a58284ee (diff)
downloadswig-2cd59b636e6da442cf6bc9dc8c09aa9f33df2a51.tar.gz
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.
-rw-r--r--.travis.yml26
-rwxr-xr-xTools/travis-osx-install.sh3
2 files changed, 14 insertions, 15 deletions
diff --git a/.travis.yml b/.travis.yml
index f9c92b95a..fe9a615c1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -140,16 +140,6 @@ matrix:
dist: xenial
- compiler: gcc
os: linux
- env: SWIGLANG=octave SWIGJOBS=-j2 VER=4.2 CPP11=1
- sudo: required
- dist: trusty
- - compiler: gcc
- os: linux
- env: SWIGLANG=octave SWIGJOBS=-j2 VER=4.4 CPP11=1
- sudo: required
- dist: trusty
- - compiler: gcc
- os: linux
env: SWIGLANG=perl5
sudo: required
dist: xenial
@@ -328,6 +318,11 @@ matrix:
env: SWIGLANG=java CPP11=1
sudo: required
dist: xenial
+ - compiler: gcc
+ os: linux
+ env: SWIGLANG=octave SWIGJOBS=-j2 VER=4.4 CPP11=1
+ sudo: required
+ dist: trusty
- os: linux
env: SWIGLANG=python CPP11=1
sudo: required
@@ -411,6 +406,9 @@ matrix:
env: SWIGLANG=lua
- compiler: clang
os: osx
+ env: SWIGLANG=octave SWIGJOBS=-j2
+ - compiler: clang
+ os: osx
env: SWIGLANG=perl5
- compiler: clang
os: osx
@@ -433,11 +431,9 @@ matrix:
sudo: required
dist: xenial
# Sometimes hits the Travis 50 minute time limit
- - compiler: gcc
- os: linux
- env: SWIGLANG=octave SWIGJOBS=-j2 VER=4.4 CPP11=1
- sudo: required
- dist: trusty
+ - compiler: clang
+ os: osx
+ env: SWIGLANG=octave SWIGJOBS=-j2
# Experimental languages
- compiler: gcc
os: linux
diff --git a/Tools/travis-osx-install.sh b/Tools/travis-osx-install.sh
index 63a11efa5..1cf73c5c0 100755
--- a/Tools/travis-osx-install.sh
+++ b/Tools/travis-osx-install.sh
@@ -22,6 +22,9 @@ case "$SWIGLANG" in
"lua")
travis_retry brew install lua
;;
+ "octave")
+ travis_retry brew install octave
+ ;;
"python")
WITHLANG=$SWIGLANG$PY3
if [[ "$PY3" ]]; then