Skip to content

Commit 38c9440

Browse files
committed
Tests enabled
1 parent e747de1 commit 38c9440

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ sudo: required
22
services:
33
- docker
44

5+
language: cpp
6+
compiler:
7+
- gcc
8+
59
env:
610
matrix:
711
- OS=el DIST=6 PACK=rpm

test.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
sudo apt-get update
2+
uname -a
3+
lsb_release -c -s
4+
5+
curl http://tarantool.org/dist/public.key | sudo apt-key add -
6+
echo "deb http://tarantool.org/dist/master/ubuntu/ `lsb_release -c -s` main" | sudo tee -a /etc/apt/sources.list.d/tarantool.list
7+
sudo apt-get update > /dev/null
8+
sudo apt-get -q install tarantool tarantool-dev
9+
sudo apt-get -q install libmysqlclient-dev
10+
11+
mysql -e "CREATE USER 'tarantool'@'localhost' IDENTIFIED BY 'tarantool';" -u root
12+
mysql -e "CREATE DATABASE tarantool;" -u root
13+
mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'tarantool'@'localhost' WITH GRANT OPTION;" -u root
14+
export MYSQL='127.0.0.1:3306:tarantool:tarantool:tarantool'
15+
16+
cmake . -DCMAKE_BUILD_TYPE=RelWithDebugInfo
17+
make
18+
make test

0 commit comments

Comments
 (0)