Skip to content

Commit 2996306

Browse files
committed
.travis.yml: CI for Octave (flatpak)
1 parent 18e5a1a commit 2996306

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ jobs:
2525
- sudo apt-get -y install snapd
2626
- sudo snap install octave
2727
script: snap run octave --eval "cd examples; test_sedumi(1, 1);"
28+
- os: linux
29+
dist: bionic # 18.04 LTS, Octave 6.1.0 (flatpak)
30+
before_install:
31+
- sudo apt-get -y install flatpak
32+
- flatpak remote-add --user --if-not-exists
33+
flathub https://flathub.org/repo/flathub.flatpakrepo
34+
- flatpak install --user -y flathub org.octave.Octave
35+
script:
36+
- flatpak run org.octave.Octave --eval "cd examples; test_sedumi(1, 1);"
2837
- os: osx
2938
# Need macOS version, see
3039
# https://travis-ci.community/t/macos-build-fails-because-of-homebrew-bundle-unknown-command/7296/28

0 commit comments

Comments
 (0)