-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
42 lines (38 loc) · 1016 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
language: c
matrix:
include:
- os: linux
dist: xenial
sudo: required
addons:
apt:
update: true
packages:
- libmariadb-client-lgpl-dev
- libmariadb-client-lgpl-dev-compat
snaps:
- ffsend
- os: freebsd
before_install:
- sudo pkg install -y ffsend mariadb104-server
- os: osx
addons:
homebrew:
packages:
- mariadb-server
- mariadb-client
- ffsend
update: true
- os: windows
before_install:
- curl -L https://github.com/timvisee/ffsend/releases/download/v0.2.65/ffsend-v0.2.65-windows-x64-static.exe -o ffsend.exe
- export PATH=$PATH:$PWD
before_script:
- mkdir build && cd build
- cmake .. -DCMAKE_BUILD_TYPE=Release
script:
- cmake --build . --config Release
- ctest --build-config Release
- cmake --build . --config Release --target package
after_script:
- ffsend upload mysql-logger-*.*