summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKRIXUS-alpha2021-04-21 20:09:04 +0530
committerKRIXUS-alpha2021-04-21 20:09:04 +0530
commitd8466bca41ea09568d0738cc95e63a5f04354f09 (patch)
treea70d356da7e3d87d9e6133796e84f50fc22369c4
parent0ce08038835385ecb811fb5db5cac764e388a708 (diff)
downloadfossee-scilab-octave-toolbox-d8466bca41ea09568d0738cc95e63a5f04354f09.tar.gz
fossee-scilab-octave-toolbox-d8466bca41ea09568d0738cc95e63a5f04354f09.tar.bz2
fossee-scilab-octave-toolbox-d8466bca41ea09568d0738cc95e63a5f04354f09.zip
configured travis
-rw-r--r--.travis.yml13
-rw-r--r--src/make.sh11
2 files changed, 20 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 45d8955..157def9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,5 @@
-language: scilab
-dist: bionic
+language: cpp
+dist: focal
before_install:
- sudo apt-get update
# - wget https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/scilab/6.0.1-1ubuntu1/scilab_6.0.1-1ubuntu1.debian.tar.xz
@@ -9,7 +9,12 @@ before_install:
- sudo apt-get install octave
- sudo apt-get install build-essential
- sudo apt-get install liboctave-dev
+ - sudo apt-get install octave-signal
+
script:
- - octave-cli tests/oct-setup.m
- - scilab -nw -f tests/test.sce
+- cd $TRAVIS_BUILD_DIR/
+- cd src/
+- bash make.sh
+- cd $TRAVIS_BUILD_DIR/
+- scilab-cli -f tests/test.sce
diff --git a/src/make.sh b/src/make.sh
new file mode 100644
index 0000000..dfe2cb4
--- /dev/null
+++ b/src/make.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# build and test the fun library using the makefile at /src
+make clean
+make
+make install
+./testfun
+# test.sce runs in cli mode, no gui prompts allowed while using builder.sce
+# removed the tbx_builder_gateway(toolbox_dir) and tbx_build_localization(toolbox_dir) funciton calls from buider.sce
+
+cd ..
+sed '41,42d' ./builder.sce \ No newline at end of file