Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
sudo: required
cache: bundler
services:
- docker
env:
global:
- TESTOPTS="-v"
- TINYTDS_UNIT_HOST=localhost
rvm:
- 2.1.9
- 2.2.5
- 2.3.1
before_install:
- export PATH=/opt/local/bin:$PATH
- docker info
- sudo ./test/bin/setup.sh
- sudo ./test/bin/install-openssl.sh
- openssl version
- sudo ./test/bin/install-freetds.sh
- tsql -C
install:
- export PATH=/opt/local/bin:$PATH
- gem install bundler
- bundle --version
- bundle install
script:
- bundle exec rake
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ init:
- SET TESTOPTS='-v'
clone_depth: 5
skip_tags: true
skip_branch_with_pr: true
matrix:
fast_finish: true
install:
Expand Down
3 changes: 3 additions & 0 deletions test/bin/install-freetds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ cd freetds-$FREETDS_VERSION
--with-tdsver=7.3
make
make install
cd ..
rm -rf freetds-$FREETDS_VERSION
rm freetds-$FREETDS_VERSION.tar.gz
3 changes: 3 additions & 0 deletions test/bin/install-openssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ cd openssl-$OPENSSL_VERSION
./config --prefix=/opt/local
make
make install
cd ..
rm -rf openssl-$OPENSSL_VERSION
rm openssl-$OPENSSL_VERSION.tar.gz
2 changes: 2 additions & 0 deletions test/bin/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env bash

set -x
set -e

docker pull metaskills/mssql-server-linux-tinytds
Expand Down