forked from r-dbi/RMySQL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
58 lines (53 loc) · 1.3 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
language: r
cache: packages
latex: false
fortran: false
pandoc: false
services:
- mysql
matrix:
include:
- dist: trusty
addons:
apt:
packages: libmariadbclient-dev
- dist: trusty
addons:
apt:
packages: libmysqlclient-dev
- dist: xenial
addons:
apt:
packages: libmariadbd-dev
- dist: xenial
addons:
apt:
packages: libmysqlclient-dev
- os: osx
before_install:
- rm -f /etc/my.cnf
- brew install mariadb
- brew services start mariadb
- os: osx
before_install:
- brew install mysql
- mysql.server start
- os: osx
disable_homebrew: true
r_check_args: '--no-tests'
before_script: 'echo no sql server, only testing build'
- os: osx
osx_image: xcode7.3
disable_homebrew: true
r_check_args: '--no-tests'
before_script: 'echo no sql server, only testing build'
warnings_are_errors: true
#r_check_revdep: true
notifications:
email:
on_success: change
on_failure: change
before_script:
- mysql -e "create database IF NOT EXISTS test;" -uroot
- mysql -e "CREATE USER 'billy'@'localhost' IDENTIFIED BY 'supersecret';" -uroot
- printf "[rs-dbi]\nusername=billy\npassword=supersecret\n" > ~/.my.cnf