forked from zeroc-ice/ice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (53 loc) · 1.38 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
sudo: false
language: python
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
- gcc-4.9
- libdb++-dev
- libdb-dev
- libdb-java
- libdb-java-dev
- php5-cli
- php5-dev
- python-dev
- python-pip
- ruby-dev
cache:
directories:
- $HOME/.gradle
- js/node_modules
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
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
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 -j3
script:
- python allTests.py --debug --env --protocol=ssl
notifications:
email: travis-ci@zeroc.com
slack:
secure: TywLzzH1Hx3Pb5I4s4wxbEZ9nOAPkamZDqHBOkpLSNSRa2iSk6n5GcQi5bnw0Ct59oTEytO/8fNP6mYwf5G2rrXGWpcdgSdyLMcUk6ASeO7ANv7xLKhVWbbOoVuZxFJvIG5mTYpCa3R58EtchQErzdyf3rRMN3rq/ZBmocFMcRY=