From 7ecff5e1c05a4d587db7bfcbd01df25d065f53f6 Mon Sep 17 00:00:00 2001 From: kichik Date: Wed, 26 Apr 2017 19:40:41 +0000 Subject: [PATCH] build osx on travis git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6854 212acab6-be3b-0410-9dea-997c60f758d6 --- .travis.yml | 46 ++++++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/.travis.yml b/.travis.yml index 02e59dd9..23893cd1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,22 +1,24 @@ -language: cpp -dist: xenial -compiler: -- gcc -os: -- linux -before_install: -- sudo apt-get install scons mingw32 mingw32-binutils zlib1g-dev libcppunit-dev -install: -- wget -O /tmp/zlib.zip "https://downloads.sourceforge.net/project/libpng/zlib/1.2.8/zlib128-dll.zip?r=&ts=1403402496&use_mirror=hivelocity" -- mkdir /tmp/zlib -- unzip /tmp/zlib.zip -d /tmp/zlib -script: -- scons ZLIB_W32=/tmp/zlib SKIPUTILS="NSIS Menu" NSIS_CONFIG_LOG=$CFG_LOG test dist-zip -env: -- CFG_LOG=yes -- CFG_LOG=no -deploy: - provider: script - script: echo this is where we will deploy to SF - on: - branch: master +language: cpp +compiler: +- gcc +os: +- linux +- osx +before_install: +- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then sudo apt-get install scons mingw32 mingw32-binutils zlib1g-dev libcppunit-dev; fi +- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then brew update; fi +- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then brew install scons mingw-w64 zlib cppunit; fi +install: +- wget -O /tmp/zlib.zip "https://downloads.sourceforge.net/project/libpng/zlib/1.2.8/zlib128-dll.zip?r=&ts=1403402496&use_mirror=hivelocity" +- mkdir /tmp/zlib +- unzip /tmp/zlib.zip -d /tmp/zlib +script: +- scons ZLIB_W32=/tmp/zlib SKIPUTILS="NSIS Menu" NSIS_CONFIG_LOG=$CFG_LOG test dist-zip +env: +- CFG_LOG=yes +- CFG_LOG=no +deploy: + provider: script + script: echo this is where we will deploy to SF + on: + branch: master