mdbtools/.travis.yml

167 lines
4.1 KiB
YAML
Raw Normal View History

2020-08-04 02:54:10 +08:00
language: c
2020-08-13 18:44:05 +08:00
dist: bionic
2020-08-04 02:54:10 +08:00
jobs:
include:
- compiler: clang
os: linux
addons:
apt:
packages:
- libiodbc2-dev
env:
2020-08-12 18:38:57 +08:00
- CONFIGURE_FLAGS="--with-iodbc=/usr --disable-glib"
- compiler: clang
os: linux
addons:
apt:
packages:
- libiodbc2-dev
- libglib2.0-dev
env:
- CONFIGURE_FLAGS="--with-iodbc=/usr --enable-glib"
- compiler: clang
os: linux
addons:
apt:
packages:
- unixodbc-dev
env:
2020-08-12 18:38:57 +08:00
- CONFIGURE_FLAGS="--with-unixodbc=/usr --disable-glib"
- compiler: clang
os: linux
addons:
apt:
packages:
- unixodbc-dev
- libglib2.0-dev
env:
- CONFIGURE_FLAGS="--with-unixodbc=/usr --enable-glib"
- compiler: gcc
os: linux
addons:
apt:
packages:
- libiodbc2-dev
env:
2020-08-12 18:38:57 +08:00
- CONFIGURE_FLAGS="--with-iodbc=/usr --disable-glib"
- compiler: gcc
os: linux
addons:
apt:
packages:
- unixodbc-dev
env:
2020-08-12 18:38:57 +08:00
- CONFIGURE_FLAGS="--with-unixodbc=/usr --disable-glib"
2020-08-13 18:44:05 +08:00
- compiler: gcc-10
os: linux
addons:
apt:
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
packages:
- gcc-10
- libiodbc2-dev
env:
- CONFIGURE_FLAGS="--with-iodbc=/usr --disable-glib"
- compiler: gcc-10
os: linux
addons:
apt:
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
packages:
- gcc-10
- unixodbc-dev
env:
- CONFIGURE_FLAGS="--with-unixodbc=/usr --disable-glib"
2020-08-12 18:38:57 +08:00
- compiler: clang
os: osx
osx_image: xcode11.4
addons:
homebrew:
packages:
- libiodbc
2020-08-18 13:04:37 +08:00
- bison
2020-08-12 18:38:57 +08:00
env:
- CONFIGURE_FLAGS="--with-iodbc=/usr/local/opt --disable-glib"
- YACC="/usr/local/opt/bison/bin/bison"
- compiler: clang
os: osx
osx_image: xcode11.4
addons:
homebrew:
packages:
- libiodbc
2020-08-12 18:38:57 +08:00
- glib
2020-08-18 13:04:37 +08:00
- bison
2020-08-12 18:38:57 +08:00
env:
- CONFIGURE_FLAGS="--with-iodbc=/usr/local/opt --enable-glib"
- YACC="/usr/local/opt/bison/bin/bison"
2020-08-12 18:38:57 +08:00
- compiler: clang
os: osx
osx_image: xcode11.4
addons:
homebrew:
packages:
- unixodbc
2020-08-18 13:04:37 +08:00
- bison
env:
2020-08-12 18:38:57 +08:00
- CONFIGURE_FLAGS="--with-unixodbc=/usr/local/opt --disable-glib"
- YACC="/usr/local/opt/bison/bin/bison"
- compiler: clang
os: osx
osx_image: xcode11.4
addons:
homebrew:
packages:
- unixodbc
2020-08-12 18:38:57 +08:00
- glib
2020-08-18 13:04:37 +08:00
- bison
env:
2020-08-12 18:38:57 +08:00
- CONFIGURE_FLAGS="--with-unixodbc=/usr/local/opt --enable-glib"
- YACC="/usr/local/opt/bison/bin/bison"
- compiler: gcc
os: osx
osx_image: xcode11.4
addons:
homebrew:
packages:
- libiodbc
2020-08-18 21:34:39 +08:00
- bison
env:
2020-08-12 18:38:57 +08:00
- CONFIGURE_FLAGS="--with-iodbc=/usr/local/opt --disable-glib"
2020-08-18 21:34:39 +08:00
- YACC="/usr/local/opt/bison/bin/bison"
- compiler: gcc
os: osx
osx_image: xcode11.4
addons:
homebrew:
packages:
- unixodbc
2020-08-18 21:34:39 +08:00
- bison
env:
2020-08-12 18:38:57 +08:00
- CONFIGURE_FLAGS="--with-unixodbc=/usr/local/opt --disable-glib"
2020-08-18 21:34:39 +08:00
- YACC="/usr/local/opt/bison/bin/bison"
2020-08-04 02:54:10 +08:00
before_script:
2020-08-06 01:10:08 +08:00
- autoreconf -i -f -Wno-portability
2020-08-04 02:54:10 +08:00
script:
2020-08-12 18:38:57 +08:00
- ./configure --disable-man --disable-silent-rules $CONFIGURE_FLAGS
2020-08-04 02:54:10 +08:00
- make
- ./src/util/mdb-array test/data/ASampleDatabase.accdb "Asset Items"
- ./src/util/mdb-array test/data/nwind.mdb "Customers"
- ./src/util/mdb-count test/data/ASampleDatabase.accdb "Asset Items"
- ./src/util/mdb-count test/data/nwind.mdb "Customers"
- ./src/util/mdb-prop test/data/ASampleDatabase.accdb "Asset Items"
- ./src/util/mdb-prop test/data/nwind.mdb "Customers"
- ./src/util/mdb-schema test/data/ASampleDatabase.accdb
- ./src/util/mdb-schema test/data/nwind.mdb
- ./src/util/mdb-tables test/data/ASampleDatabase.accdb
- ./src/util/mdb-tables test/data/nwind.mdb
- ./src/util/mdb-ver test/data/ASampleDatabase.accdb
- ./src/util/mdb-ver test/data/nwind.mdb
2020-08-18 21:04:20 +08:00
- ./src/util/mdb-sql -i test/sql/nwind.sql test/data/nwind.mdb
2020-08-11 04:59:15 +08:00
- env MDBPATH=test/data ./src/odbc/unittest