Skip to content

Commit

Permalink
skip octave test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Jul 27, 2020
1 parent 9ded036 commit 2f1f2b9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,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=4.2.1;
export PATH=/c/ProgramData/chocolatey/lib/octave.portable/tools/octave/bin:.:${PATH};
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 @@ -44,7 +44,7 @@ addons:
script:
- ${MAKE} -C src lib
- ${MAKE} -C src dll USERLINKOPT="-lz"
- if [ "$TRAVIS_OS_NAME" != "osx" ]; then
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
${MAKE} -C src oct;
octave-cli --eval "addpath(pwd);cd example;demo_zmat_basic";
fi
Expand Down

0 comments on commit 2f1f2b9

Please sign in to comment.