Skip to content

Commit

Permalink
Non Linux CI fixes (#844)
Browse files Browse the repository at this point in the history
* Switch to memurai for Windows tests

* Switch to macports from brew.
  • Loading branch information
michael-grunder committed Jul 9, 2020
1 parent 392de5d commit 08593db
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ branches:
- /^release\/.*$/

before_script:
- if [ "$TRAVIS_OS_NAME" == "osx" ] ; then brew update; brew install redis openssl; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then
curl -O https://distfiles.macports.org/MacPorts/MacPorts-2.6.2-10.13-HighSierra.pkg;
sudo installer -pkg MacPorts-2.6.2-10.13-HighSierra.pkg -target /;
export PATH=$PATH:/opt/local/bin && sudo port -v selfupdate;
sudo port -N install openssl redis;
fi;

addons:
apt:
Expand Down Expand Up @@ -99,10 +104,7 @@ jobs:
- eval "${MATRIX_EVAL}"
install:
- choco install ninja
- choco install redis-64 -y
before_script:
- redis-server --service-install --service-name Redis --port 6379
- redis-server --service-start
- choco install -y memurai-developer
script:
- mkdir build && cd build
- cmd.exe //C 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat' amd64 '&&'
Expand Down

0 comments on commit 08593db

Please sign in to comment.