From 46929d4935fc9c9ce174fed349db47b8271f3dd4 Mon Sep 17 00:00:00 2001 From: KRIXUS-alpha Date: Sat, 17 Apr 2021 13:54:48 +0530 Subject: Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e6dfbfb..34f740c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -language: scilab +# language: scilab dist: bionic before_install: - sudo apt-get update -- cgit From 990bca9f9c52721ee3f7d3f66749cf98a699be8b Mon Sep 17 00:00:00 2001 From: KRIXUS-alpha Date: Sat, 17 Apr 2021 13:57:36 +0530 Subject: Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 34f740c..6c1d276 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -# language: scilab +language: c dist: bionic before_install: - sudo apt-get update -- cgit From aa06d812269b26344f598f60da65f728a6f843e8 Mon Sep 17 00:00:00 2001 From: KRIXUS-alpha Date: Sat, 17 Apr 2021 14:03:59 +0530 Subject: Update .travis.yml Corrected the path for bash scilab.install - Bash ERR 127 [[FIXED]]--- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6c1d276..a0bf8dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,10 @@ -language: c +language: scilab dist: bionic 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 - tar -xf scilab_6.0.1-1ubuntu1.debian.tar.xz - - bash scilab_6.0.1-1ubuntu1.debian/scilab.install + - bash debian/scilab.install - sudo apt-get install octave - sudo apt-get install build-essential - sudo apt-get install liboctave-dev -- cgit From 0ce08038835385ecb811fb5db5cac764e388a708 Mon Sep 17 00:00:00 2001 From: KRIXUS-alpha Date: Sat, 17 Apr 2021 14:25:30 +0530 Subject: Update .travis.yml [[UNSTABLE]] changed source for scilab package--- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a0bf8dc..45d8955 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,10 @@ language: scilab dist: bionic 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 - - tar -xf scilab_6.0.1-1ubuntu1.debian.tar.xz - - bash debian/scilab.install +# - wget https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/scilab/6.0.1-1ubuntu1/scilab_6.0.1-1ubuntu1.debian.tar.xz +# - tar -xf scilab_6.0.1-1ubuntu1.debian.tar.xz +# - bash debian/scilab.install + - sudo apt-get install scilab - sudo apt-get install octave - sudo apt-get install build-essential - sudo apt-get install liboctave-dev -- cgit From d8466bca41ea09568d0738cc95e63a5f04354f09 Mon Sep 17 00:00:00 2001 From: KRIXUS-alpha Date: Wed, 21 Apr 2021 20:09:04 +0530 Subject: configured travis --- .travis.yml | 13 +++++++++---- src/make.sh | 11 +++++++++++ 2 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 src/make.sh 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 -- cgit From 9b6172c85d14b84e25f2f335c9708b78ab45d244 Mon Sep 17 00:00:00 2001 From: KRIXUS-alpha Date: Wed, 21 Apr 2021 20:18:15 +0530 Subject: edit line deletion from builder.sce --- src/make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/make.sh b/src/make.sh index dfe2cb4..f9c33ab 100644 --- a/src/make.sh +++ b/src/make.sh @@ -8,4 +8,4 @@ make install # 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 +sed '40,41d' ./builder.sce \ No newline at end of file -- cgit From 76559aae7c6fac23f5e3b4b8a2a4c34cf86e3130 Mon Sep 17 00:00:00 2001 From: KRIXUS-alpha Date: Wed, 21 Apr 2021 20:27:48 +0530 Subject: executed bulder.sce and loader.sce in test.sce --- tests/test.sce | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test.sce b/tests/test.sce index e2c0ca1..b3a7993 100644 --- a/tests/test.sce +++ b/tests/test.sce @@ -1,3 +1,6 @@ +exec builder.sce +exec loader.sce + //exec build.sce test_pass=[] -- cgit From f3131977457371d653ff9f70d3ce991ece70be49 Mon Sep 17 00:00:00 2001 From: KRIXUS-alpha Date: Wed, 21 Apr 2021 20:35:25 +0530 Subject: remove help_from_sci call from builder.sce --- src/make.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/make.sh b/src/make.sh index f9c33ab..8baec2b 100644 --- a/src/make.sh +++ b/src/make.sh @@ -8,4 +8,5 @@ make install # removed the tbx_builder_gateway(toolbox_dir) and tbx_build_localization(toolbox_dir) funciton calls from buider.sce cd .. -sed '40,41d' ./builder.sce \ No newline at end of file +sed '40,41d' ./builder.sce +sed '37d' ./builder.sce \ No newline at end of file -- cgit From 07a5ac7ce67ed77a0b51e6fddba012f60a252c75 Mon Sep 17 00:00:00 2001 From: KRIXUS-alpha Date: Wed, 21 Apr 2021 22:08:38 +0530 Subject: delete help_from_sci call --- src/make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/make.sh b/src/make.sh index 8baec2b..990d91a 100644 --- a/src/make.sh +++ b/src/make.sh @@ -9,4 +9,4 @@ make install cd .. sed '40,41d' ./builder.sce -sed '37d' ./builder.sce \ No newline at end of file +sed -i '37d' ./builder.sce \ No newline at end of file -- cgit From dc875ae5fa751636a359ae25cc5a1ca4d6055d71 Mon Sep 17 00:00:00 2001 From: KRIXUS-alpha Date: Wed, 21 Apr 2021 22:30:27 +0530 Subject: edit delete help_from_sci call --- src/make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/make.sh b/src/make.sh index 990d91a..19439a3 100644 --- a/src/make.sh +++ b/src/make.sh @@ -9,4 +9,4 @@ make install cd .. sed '40,41d' ./builder.sce -sed -i '37d' ./builder.sce \ No newline at end of file +sed -i '38d' ./builder.sce \ No newline at end of file -- cgit From ed6cc3ace413bc5c37acb6738fdffdc120b464ee Mon Sep 17 00:00:00 2001 From: KRIXUS-alpha Date: Thu, 22 Apr 2021 12:08:26 +0530 Subject: sed in place fixed --- src/make.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/make.sh b/src/make.sh index 19439a3..096275d 100644 --- a/src/make.sh +++ b/src/make.sh @@ -8,5 +8,5 @@ make install # removed the tbx_builder_gateway(toolbox_dir) and tbx_build_localization(toolbox_dir) funciton calls from buider.sce cd .. -sed '40,41d' ./builder.sce -sed -i '38d' ./builder.sce \ No newline at end of file +sed -i '37d' ./builder.sce +sed -i '40,41d' ./builder.sce -- cgit From f918d7f5291bf8d44f738bb91cfc3d2c26168041 Mon Sep 17 00:00:00 2001 From: KRIXUS-alpha Date: Thu, 22 Apr 2021 12:18:08 +0530 Subject: quit the scilab-cli {errors not reported} --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 157def9..43effb0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,4 +17,4 @@ script: - cd src/ - bash make.sh - cd $TRAVIS_BUILD_DIR/ -- scilab-cli -f tests/test.sce +- scilab-cli -f tests/test.sce -quit -- cgit From 4f2c20396197ce27bb7ad197a6a1af88903e3a88 Mon Sep 17 00:00:00 2001 From: KRIXUS-alpha Date: Thu, 22 Apr 2021 12:37:28 +0530 Subject: quit the scilab-cli --- .travis.yml | 2 +- tests/test.sce | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 43effb0..1bf2494 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,4 +17,4 @@ script: - cd src/ - bash make.sh - cd $TRAVIS_BUILD_DIR/ -- scilab-cli -f tests/test.sce -quit +- scilab-cli -f tests/test.sce diff --git a/tests/test.sce b/tests/test.sce index b3a7993..8e68761 100644 --- a/tests/test.sce +++ b/tests/test.sce @@ -382,3 +382,5 @@ disp(length(test_pass),"Total functions tested:") disp("ALL OK") //exit() end + +exit() \ No newline at end of file -- cgit From fd3cbdf88e942c8ac4284ab401b598e83ce272da Mon Sep 17 00:00:00 2001 From: KRIXUS-alpha Date: Thu, 22 Apr 2021 12:42:56 +0530 Subject: unable to quit scilab-cli (cancel the build manually) --- tests/test.sce | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/test.sce b/tests/test.sce index 8e68761..b3a7993 100644 --- a/tests/test.sce +++ b/tests/test.sce @@ -382,5 +382,3 @@ disp(length(test_pass),"Total functions tested:") disp("ALL OK") //exit() end - -exit() \ No newline at end of file -- cgit