build osx on travis
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6854 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
e004b5893e
commit
7ecff5e1c0
1 changed files with 24 additions and 22 deletions
46
.travis.yml
46
.travis.yml
|
@ -1,22 +1,24 @@
|
||||||
language: cpp
|
language: cpp
|
||||||
dist: xenial
|
compiler:
|
||||||
compiler:
|
- gcc
|
||||||
- gcc
|
os:
|
||||||
os:
|
- linux
|
||||||
- linux
|
- osx
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get install scons mingw32 mingw32-binutils zlib1g-dev libcppunit-dev
|
- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then sudo apt-get install scons mingw32 mingw32-binutils zlib1g-dev libcppunit-dev; fi
|
||||||
install:
|
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then brew update; fi
|
||||||
- wget -O /tmp/zlib.zip "https://downloads.sourceforge.net/project/libpng/zlib/1.2.8/zlib128-dll.zip?r=&ts=1403402496&use_mirror=hivelocity"
|
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then brew install scons mingw-w64 zlib cppunit; fi
|
||||||
- mkdir /tmp/zlib
|
install:
|
||||||
- unzip /tmp/zlib.zip -d /tmp/zlib
|
- wget -O /tmp/zlib.zip "https://downloads.sourceforge.net/project/libpng/zlib/1.2.8/zlib128-dll.zip?r=&ts=1403402496&use_mirror=hivelocity"
|
||||||
script:
|
- mkdir /tmp/zlib
|
||||||
- scons ZLIB_W32=/tmp/zlib SKIPUTILS="NSIS Menu" NSIS_CONFIG_LOG=$CFG_LOG test dist-zip
|
- unzip /tmp/zlib.zip -d /tmp/zlib
|
||||||
env:
|
script:
|
||||||
- CFG_LOG=yes
|
- scons ZLIB_W32=/tmp/zlib SKIPUTILS="NSIS Menu" NSIS_CONFIG_LOG=$CFG_LOG test dist-zip
|
||||||
- CFG_LOG=no
|
env:
|
||||||
deploy:
|
- CFG_LOG=yes
|
||||||
provider: script
|
- CFG_LOG=no
|
||||||
script: echo this is where we will deploy to SF
|
deploy:
|
||||||
on:
|
provider: script
|
||||||
branch: master
|
script: echo this is where we will deploy to SF
|
||||||
|
on:
|
||||||
|
branch: master
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue