forked from mariadb-corporation/mariadb-connector-odbc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
82 lines (79 loc) · 2 KB
/
.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
sudo: true
language: c
services: docker
addons:
hosts:
- mariadb.example.com
# homebrew:
# packages:
# - openssl
# - libiodbc
# - mariadb
before_install:
#- chmod +x .travis/script.sh
#- chmod +x .travis/osx.sh
#- chmod +x .travis/gen-ssl.sh
#- chmod +x .travis/build/build.sh
#- chmod +x .travis/build/docker-entrypoint.sh
- chmod 777 .travis/build/
- export PROJ_PATH=`pwd`
- export ENTRYPOINT=$PROJ_PATH/.travis/sql
- mkdir tmp
- .travis/gen-ssl.sh mariadb.example.com tmp
- export SSLCERT=$PROJ_PATH/tmp
matrix:
allow_failures:
- os: linux
env: DB=mariadb:10.2 PACKET=8M MAXSCALE_VERSION=2.1.8
- os: linux
env: DB=build
- os: linux
env: DB=mysql:5.5
- os: linux
env: DB=mysql:5.6
- os: linux
env: DB=mysql:5.7
- os: osx
env: DB=mariadb:10.4
include:
- os: linux
env: DB=build
- os: linux
env: DB=mariadb:5.5
- os: linux
env: DB=mariadb:10.0
- os: linux
env: DB=mariadb:10.1
- os: linux
env: DB=mariadb:10.2
- os: linux
env: DB=mariadb:10.3
- os: linux
compiler: gcc
env: DB=mariadb:10.4
- os: linux
compiler: clang
env: DB=mariadb:10.4
- os: osx
compiler: gcc
env: DB=mariadb:10.4
addons:
mariadb: '10.4'
before_script:
- brew update
- brew install openssl
- brew install libiodbc
- brew install mariadb
- os: linux
env: DB=mariadb:10.2 PACKET=8M MAXSCALE_VERSION=2.1.8
- os: linux
env: DB=mysql:5.5
- os: linux
env: DB=mysql:5.6
- os: linux
env: DB=mysql:5.7
script:
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$DB" = "build" ] ; then .travis/build/build.sh; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$DB" = "build" ] ; then docker build -t build:latest --label build .travis/build/; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ] ; then .travis/script.sh; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then .travis/osx.sh; fi