summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rwxr-xr-x.travis.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100755
index 0000000..803e644
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,27 @@
+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 https://sourceforge.net/p/nsis/code/HEAD/tree/web-scripts/trunk/cppunit.rb?format=raw; fi
+- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then brew install scons mingw-w64 zlib; 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
+notifications:
+ slack: $SLACK_TOKEN