-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
37 lines (30 loc) · 996 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
33
34
35
36
37
language: python
python:
- "2.6"
- "2.7"
- "pypy"
before_install:
- wget http://tarantool.org/dist/public.key
- sudo apt-key add ./public.key
- release=`lsb_release -c -s`
- echo "deb http://tarantool.org/dist/stable/ubuntu/ $release main" | sudo tee -a /etc/apt/sources.list.d/tarantool.list
- echo "deb-src http://tarantool.org/dist/stable/ubuntu/ $release main" | sudo tee -a /etc/apt/sources.list.d/tarantool.list
- sudo apt-get update
install:
- sudo apt-get install tarantool-lts tarantool-lts-client
- sudo cp ${TRAVIS_BUILD_DIR}/conf/tests/tarantool.cfg /etc/tarantool/instances.enabled/
- sudo mkdir -p /usr/share/tarantool/lua
- sudo cp ${TRAVIS_BUILD_DIR}/conf/tests/init.lua /usr/share/tarantool/lua/
- sudo service tarantool-lts restart
- python setup.py install
- make initdev
script:
- "make test"
#before_script:
# - "make check"
notifications:
email:
recipients:
- foobar@list.ru
on_success: never
on_failure: change