Don't install nginx twice on OSX Travis build.
This commit is contained in:
parent
2578110c23
commit
a2a084fd16
|
|
@ -6,14 +6,9 @@ addons:
|
|||
packages:
|
||||
- libunwind8
|
||||
before_install:
|
||||
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install nginx; brew install openssl; brew link --force openssl; fi
|
||||
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install nginx; brew install openssl; brew link --force openssl; else ./install-nginx.sh; fi
|
||||
install:
|
||||
- curl -sSL http://nginx.org/download/nginx-1.8.0.tar.gz | tar zxfv - -C /tmp && cd /tmp/nginx-1.8.0/
|
||||
- ./configure --prefix=$HOME/nginxinstall --with-http_ssl_module
|
||||
- make
|
||||
- make install
|
||||
- export PATH="$PATH:$HOME/nginxinstall/sbin/"
|
||||
- cd $OLDPWD
|
||||
mono:
|
||||
- 4.0.5
|
||||
os:
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
curl -sSL http://nginx.org/download/nginx-1.8.0.tar.gz | tar zxfv - -C /tmp && cd /tmp/nginx-1.8.0/
|
||||
./configure --prefix=$HOME/nginxinstall --with-http_ssl_module
|
||||
make
|
||||
make install
|
||||
Loading…
Reference in New Issue