Skip to content

Commit

Permalink
DO NOT MERGE: Setup CI for prepared statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Totktonada authored and nicktorwald committed Dec 1, 2019
1 parent b28e657 commit c42ebdc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ env:
- TNT_VERSION=2x
- TNT_VERSION=2.2
- TNT_VERSION=2.3
- TNT_VERSION=np/gh-2592-prepared-statemets-v2

stages:
- checkstyle
Expand Down
18 changes: 18 additions & 0 deletions .travis/travis.pre.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

set -exuo pipefail # Strict shell

if [ "${TNT_VERSION}" = "np/gh-2592-prepared-statemets-v2" ]; then
sudo apt-get update

# branch: np/gh-2592-prepared-statemets-v2
# commit: 6df993c3a6068f2d2ed7d7b289644e9a1dd2cfce
wget https://tkn.me/tmp/tarantool_2.3.0.241.g6df993c-1_amd64.deb
wget https://tkn.me/tmp/tarantool-common_2.3.0.241.g6df993c-1_all.deb

# Install dependencies and tarantool packages.
sudo apt-get -y install binutils libgomp1 libicu52 libunwind8
sudo dpkg -i tarantool*.deb
sudo apt-get -y install -f # just in case

sudo tarantoolctl stop example

exit
fi

curl http://download.tarantool.org/tarantool/${TNT_VERSION}/gpgkey | sudo apt-key add -
RELEASE=`lsb_release -c -s`

Expand Down

0 comments on commit c42ebdc

Please sign in to comment.