File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 19
19
- docker
20
20
- postgresql
21
21
env : ODBC_SYS_STATIC_PATH=/usr/lib/x86_64-linux-gnu/ POSTGRES_DRIVER=/usr/lib/x86_64-linux-gnu/odbc/psqlodbca.so SQLITE_DRIVER=/usr/lib/x86_64-linux-gnu/odbc/libsqlite3odbc.so
22
+ before_script :
23
+ - sudo -u postgres psql -c "CREATE USER foo WITH PASSWORD 'bar';" -U postgres
24
+ - sudo -u postgres createdb -O foo foo
22
25
script :
23
26
- cargo test -- --nocapture || travis_terminate 1
24
27
- docker build . -t wait_for_db || travis_terminate 1
38
41
osx_image : xcode11.2
39
42
services :
40
43
- postgresql
44
+ addons :
45
+ homebrew :
46
+ packages :
47
+ - psqlodbc
48
+ - sqliteodbc
49
+ env : SQLITE_DRIVER=/usr/local/opt/sqliteodbc/lib/libsqlite3odbc.dylib POSTGRES_DRIVER=/usr/local/opt/psqlodbc/lib/sqlodbca.so
50
+ before_script :
51
+ - psql -c "CREATE USER foo WITH PASSWORD 'bar';" -U postgres
52
+ - createdb -O foo foo
41
53
script :
42
54
- cargo test -- --nocapture || travis_terminate 1
43
55
- cargo build --release || travis_terminate 1
54
66
# on:
55
67
# tags: true
56
68
57
- before_script :
58
- - sudo -u postgres psql -c "CREATE USER foo WITH PASSWORD 'bar';" -U postgres
59
- - sudo -u postgres createdb -O foo foo
60
-
61
69
env :
62
70
global :
63
71
- POSTGRES_SERVER=localhost
You can’t perform that action at this time.
0 commit comments