Skip to content

Commit

Permalink
revert travis ci script for now
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Aug 19, 2022
1 parent c63cf2d commit 5338fab
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,10 @@ jobs:

before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install liboctave-dev; fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then
choco install octave.portable --version=5.2.0;
env;
pwd;
echo $SHELL;
export PATH=${PATH}:"C:\ProgramData\chocolatey\lib\octave.portable\tools\octave\bin";
tree /c/ProgramData/chocolatey/;
octave --version;
fi
# - if [ "$TRAVIS_OS_NAME" = "windows" ]; then
# choco install octave.portable --version=4.2.1;
# export PATH=/c/ProgramData/chocolatey/lib/octave.portable/tools/octave/bin:.:${PATH};
# fi

addons:
apt:
Expand All @@ -68,11 +63,10 @@ script:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
octave-cli --eval "addpath(pwd);cd example;demo_zmat_basic";
fi
- ${MAKE} -C src lib
- ${MAKE} -C src dll USERLINKOPT="-lz"
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
${MAKE} -C src oct;
octave-cli --eval "addpath(pwd);cd example;demo_zmat_basic";
fi
- ${MAKE} -C src lib
- ${MAKE} -C src dll USERLINKOPT="-lz"
- ${MAKE} -C src oct;
- octave-cli --eval "addpath(pwd);cd example;demo_zmat_basic";

0 comments on commit 5338fab

Please sign in to comment.