]> jfr.im git - irc/unrealircd/unrealircd.git/commitdiff
Travis-CI: more adjustments for OSX
authorBram Matthys <redacted>
Wed, 25 Apr 2018 19:55:08 +0000 (21:55 +0200)
committerBram Matthys <redacted>
Wed, 25 Apr 2018 19:55:08 +0000 (21:55 +0200)
extras/build-tests/nix/run-tests

index d81d83befe6e27513b30db973b2e702c0c95a85e..0b3c758545c407aa5d0c71494fdf6b25bb4ae1ef 100755 (executable)
@@ -13,8 +13,6 @@ set -x
 if [[ "$OSTYPE" == "darwin"* ]]; then
        brew install git || true
        brew install python || true
-       brew install rake || true
-       brew install gem || true
 else
        sudo apt-get install git python rake -y
        sudo gem install bundler
@@ -25,7 +23,11 @@ git clone https://github.com/unrealircd/ircfly.git
 cd ircfly
 bundle install
 rake build
-sudo rake install
+if [[ "$OSTYPE" == "darwin"* ]]; then
+       rake install
+else
+       sudo rake install
+fi
 cd ..
 
 # Install 'unrealircd-tests'