Skip to content

Commit

Permalink
Merge pull request #108 from iMichka/fix-pipeline
Browse files Browse the repository at this point in the history
Fix test pipelines
  • Loading branch information
iMichka committed Nov 16, 2019
2 parents 2b1efbb + c3fda0b commit b04340f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,20 +126,20 @@ matrix:
- g++-5
- os: osx
# BUILD 14 ------------------
osx_image: xcode9.4
osx_image: xcode11.2
language: generic
env:
- XML_GENERATOR="castxml"
- TRAVIS_PYTHON_VERSION="2"
- SITECUSTOMIZELIBPATH="/usr/local/lib/python2.7/site-packages/sitecustomize.py"
- os: osx
# BUILD 15 ------------------
osx_image: xcode9.4
osx_image: xcode11.2
language: generic
env:
- XML_GENERATOR="castxml"
- TRAVIS_PYTHON_VERSION="3"
- SITECUSTOMIZELIBPATH="/usr/local/lib/python3.6/site-packages/sitecustomize.py"
- SITECUSTOMIZELIBPATH="/usr/local/lib/python3.7/site-packages/sitecustomize.py"
- os: linux
# BUILD 16 ------------------
python: 3.6
Expand Down Expand Up @@ -168,13 +168,13 @@ before_install:
# Look at the redirection and extract the direct URL for usage with Travis.
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
if [ ! -e ${HOME}/castxml ]; then
wget -q -O - https://midas3.kitware.com/midas/download/bitstream/461589/castxml-macosx.tar.gz | tar zxf - -C ${HOME};
wget -q -O - https://data.kitware.com/api/v1/file/hashsum/sha512/88c9b5954ca7417f7b519f3006dc6fe4bd194af0837168edc30007a41eaae6d4eee97cef2a72747432af14941c7f60333b77c25e208b2540dcde2d61e0d0e6f3/download | tar zxf - -C ${HOME};
fi;
fi

- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ $XML_GENERATOR == "castxml" ]]; then
if [ ! -e ${HOME}/castxml ]; then
wget -q -O - https://midas3.kitware.com/midas/download/bitstream/461590/castxml-linux.tar.gz | tar zxf - -C ${HOME};
wget -q -O - https://data.kitware.com/api/v1/file/hashsum/sha512/f43ef30267c850872cf1e8ea8594c5dc6a1beb7c343d63875662ee7c648dac4f9214c915499ef2e1148f2b5f866e4c518ca1a21fb5055baba7d62f4f69097ba0/download | tar zxf - -C ${HOME};
fi;
fi

Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ install:
- "%PYTHON%/Scripts/pip.exe install coveralls"

# Install castxml
- ps: wget https://midas3.kitware.com/midas/download/bitstream/461597/castxml-windows.zip -OutFile castxml.zip
- ps: wget https://data.kitware.com/api/v1/file/hashsum/sha512/315a6acef496b9d0dc9a8e0414119c22d1e1e866b8862b6372f587821c1741ac084460b1cd41b3772c4aae3922025e708c86b0a82c8a6d9952093d5e7ed9122d/download -OutFile castxml.zip
- cmd: echo "Unzipping castxml..."
- cmd: 7z x castxml.zip -o"C:\Program Files\" -y > nul
- cmd: set PATH=%PATH:castxml\bin=%;C:\Program Files\castxml\bin
Expand Down

0 comments on commit b04340f

Please sign in to comment.