diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..acddff00 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,53 @@ +sudo: false +language: python +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-4.9 + - gcc-4.9 + - python-dev + - python-pip + - libdb++-dev + - libdb-dev + - libdb-java + - libdb-java-dev +cache: + directories: + - "$HOME/.gradle" +env: + global: + - CXX=g++-4.9 + - GCC_COMPILER=yes + - MCPP_HOME=${TRAVIS_BUILD_DIR}/mcpp + - OPTIMIZE=yes + - LMDB_REVISION=0.9.16 + - LMDB_BUILD_DIR=${TRAVIS_BUILD_DIR}/lmdb-LMDB_${LMDB_REVISION} + - LMDB_HOME=${TRAVIS_BUILD_DIR}/lmdb + - ICE_HOME=${TRAVIS_BUILD_DIR}/ice +python: +- '2.7' +before_install: +- git clone https://github.com/zeroc-ice/mcpp.git mcpp +- wget https://github.com/LMDB/lmdb/archive/LMDB_${LMDB_REVISION}.tar.gz +- tar xvf LMDB_${LMDB_REVISION}.tar.gz +- git clone https://github.com/zeroc-ice/ice.git ice --depth=1 +install: +- make -C ${MCPP_HOME} -j3 +- mkdir -p ${LMDB_HOME}/bin +- mkdir -p ${LMDB_HOME}/lib +- mkdir -p ${LMDB_HOME}/include +- mkdir -p ${LMDB_HOME}/man/man1 +- CPPFLAGS=-fPIC make -C ${LMDB_BUILD_DIR}/libraries/liblmdb install prefix=${LMDB_HOME} +- rm -f ${LMDB_HOME}/lib/liblmdb.so +- pip install passlib +- make -C ${ICE_HOME}/cpp/src -j3 +- make -C ${ICE_HOME}/java -j3 +- make -j3 +script: +- python allTests.py +notifications: + email: travis-ci@zeroc.com + slack: + secure: cjBBFgPTmWKNzCjaLItWjN7oSp3j7emWw0/N2ZXcLZ1WBzIffuy6RtTf9+R8nwxEFABPlTRH6uRInDEIEN8GQ9hYZ0W36h8Fzp+2Z5rxX96RiC8Vgp3ti6T3y6yDspocce3v9wj1zLNoK2aMbifg7TUbUi+/NLACAv27nofOpQP5uP/TxJm21MsY3OZeX6Kxmdov47Z4km9y4DFwkSHfHv8VXqU55qTIO/bMm7BdsBtwidfomDo7vDy7UsfxzRi1ber+xWmcLGtQ+pfK9KptPdz+rf7anIF4yOE6REPpjeuYyTf/iMBGbTQh9eELJoZwVqNyz73iRi9EGTyfgvW3fhlN1U6sw76PqJtCHco+kzNF7bCzV1lv2mI8OwoWcvXQeWPlDceG4B4+bY8ZWG8Reg8PYQ9Vt3OcD3TKUXII3xX7U8KDsryN/hMjyn92vp2aBRyHNcEeCXlHxtpgYnl4dmkBTJjppl1BwPNEKyme6lyTn0XD2eRMw6W9l+N1bLR3qtDG3BADlPNWWlzgY6WLztIBfZYGeZVp1Yy6Cl3akHbjimRn10XAbtqpaCl+DAqsm0wXl2WWrJTLutlKfeDm6nWEXEYK5fY7AO12Ej8FX5HQd5DRtvcZ1VcplR2D10Rl5K+bJJBC8FvHMGYPAPH/yTErt68zSd0nXDzP22IP8jA=