forked from nuodb/nuodb-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·37 lines (30 loc) · 1 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
language: python
python:
- "2.7"
- "3.4"
env:
- NUODB_VERSION=2.3.3 NUOVERSION=2.3.3.2
- NUODB_VERSION=2.2.1 NUOVERSION=2.2.1.29
notifications:
recipients:
# The image Travis uses has a bogus /etc/profile.d/rvm.sh file: it says it's a
# sh file but it's really a bash file. This causes "service nuoagent start"
# to throw errors. Delete it: we don't use Ruby stuff anyway
# Some default.properties files don't have a trailing newline (!!) Force one.
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
- sudo rm -f /etc/profile.d/rvm.sh
- (echo ""; echo "domainPassword = bird") | sudo tee -a /opt/nuodb/etc/default.properties
- sudo service nuoagent start
script:
- make all
after_failure:
- cat /opt/nuodb/etc/default.properties
- cat /var/log/nuodb/agent.log