File tree 4 files changed +64
-16
lines changed
4 files changed +64
-16
lines changed Original file line number Diff line number Diff line change @@ -23,3 +23,4 @@ src\/RCS
23
23
^homebrew$
24
24
^a\.out\.dSYM$
25
25
^revdep$
26
+ ^appveyor.yml$
Original file line number Diff line number Diff line change @@ -9,32 +9,35 @@ matrix:
9
9
service : mysql
10
10
- os : linux
11
11
dist : trusty
12
+ sudo : required
12
13
env : R_CODECOV=true
14
+ service : mysql
13
15
addons :
14
16
apt :
15
17
packages :
16
- - mariadb-server
17
- - libmariadbclient-dev
18
+ - libmysqlclient-dev
18
19
- os : osx
19
- osx_image : xcode7.2
20
+ osx_image : xcode8.1
20
21
before_install :
21
22
- brew install mariadb
22
23
- mysql.server start
23
24
latex : false
24
25
- os : osx
25
- osx_image : xcode7.2
26
+ osx_image : xcode8.1
26
27
before_install :
27
28
- brew install mysql
28
29
- mysql.server start
29
30
latex : false
30
31
- os : osx
31
- osx_image : beta-xcode6 .1
32
+ osx_image : xcode8 .1
32
33
disable_homebrew : true
33
34
r_check_args : ' --no-tests'
34
- before_script : ' echo skipping mysql setup'
35
-
36
- r_github_packages :
37
- - jimhester/covr
35
+ before_script : ' echo no sql server, only testing build'
36
+ - os : osx
37
+ osx_image : beta-xcode6.4
38
+ disable_homebrew : true
39
+ r_check_args : ' --no-tests'
40
+ before_script : ' echo no sql server, only testing build'
38
41
39
42
warnings_are_errors : true
40
43
# r_check_revdep: true
@@ -48,6 +51,3 @@ before_script:
48
51
- mysql -e "create database IF NOT EXISTS test;" -uroot
49
52
- mysql -e "CREATE USER 'billy'@'localhost' IDENTIFIED BY 'supersecret';" -uroot
50
53
- printf "[rs-dbi]\nusername=billy\npassword=supersecret\n" > ~/.my.cnf
51
-
52
- after_success :
53
- - if [[ "${R_CODECOV}" ]]; then R -e 'covr::codecov()'; fi
Original file line number Diff line number Diff line change @@ -12,10 +12,6 @@ Encoding: UTF-8
12
12
RnwWeave: Sweave
13
13
LaTeX: pdfLaTeX
14
14
15
- AutoAppendNewline: Yes
16
- StripTrailingWhitespace: Yes
17
-
18
15
BuildType: Package
19
16
PackageUseDevtools: Yes
20
17
PackageInstallArgs: --no-multiarch --with-keep.source
21
- PackageRoxygenize: rd,namespace
Original file line number Diff line number Diff line change
1
+ # DO NOT CHANGE the "init" and "install" sections below
2
+
3
+ # Download script file from GitHub
4
+ init :
5
+ ps : |
6
+ $ErrorActionPreference = "Stop"
7
+ Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
8
+ Import-Module '..\appveyor-tool.ps1'
9
+
10
+ install :
11
+ - ps : Bootstrap
12
+ - cmd : rm -f *.Rproj
13
+
14
+ # Adapt as necessary starting from here
15
+
16
+ # 2017: doesn't seem to work (anymore)
17
+ services :
18
+ - mysql
19
+
20
+ environment :
21
+ MYSQL_USER : root
22
+ MYSQL_PWD : Password12!
23
+
24
+ build_script :
25
+ - travis-tool.sh install_deps
26
+
27
+ test_script :
28
+ - travis-tool.sh run_tests
29
+
30
+ on_failure :
31
+ - 7z a failure.zip *.Rcheck\*
32
+ - appveyor PushArtifact failure.zip
33
+
34
+ artifacts :
35
+ - path : ' *.Rcheck\**\*.log'
36
+ name : Logs
37
+
38
+ - path : ' *.Rcheck\**\*.out'
39
+ name : Logs
40
+
41
+ - path : ' *.Rcheck\**\*.fail'
42
+ name : Logs
43
+
44
+ - path : ' *.Rcheck\**\*.Rout'
45
+ name : Logs
46
+
47
+ - path : ' \*_*.tar.gz'
48
+ name : Bits
49
+
50
+ - path : ' \*_*.zip'
51
+ name : Bits
You can’t perform that action at this time.
0 commit comments