forked from nuodb/nuodb-python
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
executable file
·32 lines (25 loc) · 969 Bytes
/
.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
language: python
python:
- "2.7"
env:
- NUODB_VERSION=2.1 NUOVERSION=2.1.1.10 NUODB_ADD_DOMAIN_PASS=yes NUODB_START_AGENT=yes
- NUODB_VERSION=2.0.4 NUOVERSION=2.0.4.24 NUODB_ADD_DOMAIN_PASS=no NUODB_START_AGENT=no
notifications:
recipients:
before_install:
- wget http://download.nuohub.org/nuodb_${NUOVERSION}_amd64.deb --output-document=/var/tmp/nuodb.deb
- sudo dpkg -i /var/tmp/nuodb.deb
- sleep 4
- if [[ "${NUODB_ADD_DOMAIN_PASS}" == "yes" ]] ; then sudo chmod 777 /opt/nuodb/etc/default.properties; echo "domainPassword = bird" >> /opt/nuodb/etc/default.properties; sudo chmod 600 /opt/nuodb/etc/default.properties; fi
- if [[ "${NUODB_START_AGENT}" == "yes" ]]; then sudo service nuoagent start; fi
install:
- pip install -r requirements.txt
script:
- make all
after_failure:
- cat /var/log/nuodb/agent.log