forked from JuliaDatabases/ODBC.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (37 loc) · 956 Bytes
/
.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
dist: trusty
language: julia
sudo: false
addons:
apt:
packages:
- unixodbc
- unixodbc-dev
- libmyodbc
- libsqliteodbc
- odbc-postgresql
os:
- linux
julia:
- 1.0
- nightly
env:
- ODBC_TEST_DRIVERS="mysql, postgresql"
matrix:
fast_finish: true
allow_failures:
- julia: nightly
services:
- mysql
- postgresql
before_install:
- cp ./test/setup/.odbcinst.ini $HOME
- odbcinst -i -s -h -f ./test/setup/mysqltest.odbc.ini
- odbcinst -i -s -h -f ./test/setup/postgresqltest.odbc.ini
- odbcinst -i -s -h -f ./test/setup/mssqltest.odbc.ini
- echo -e "\n[odbc]\nlocal-infile=1\n" >> $HOME/.my.cnf
notifications:
email: false
after_success:
- julia -e 'using Pkg; cd(Pkg.dir("ODBC")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
- julia -e 'using Pkg; Pkg.add("Documenter")'
- julia -e 'using Pkg; cd(Pkg.dir("ODBC")); include(joinpath("docs", "make.jl"))'