RandomSec/appveyor.yml

57 lines
1.3 KiB
YAML
Raw Normal View History

2017-12-24 06:06:09 +01:00
version: 1.0.{build}
2018-01-04 20:50:57 +01:00
2018-01-27 18:48:43 +01:00
services:
- mysql
2018-01-04 20:50:57 +01:00
init:
- cmd: java -version 2>&1 | find "version"
2018-01-27 18:48:43 +01:00
clone_depth: 5
skip_branch_with_pr: true
2017-12-24 06:06:09 +01:00
environment:
ANT_HOME: C:\apache-ant-1.10.1
JAVA_HOME: C:\Program Files (x86)\Java\jdk1.8.0
2018-01-04 21:44:40 +01:00
matrix:
fast_finish: true
2017-12-24 06:06:09 +01:00
install:
2017-12-29 05:24:34 +01:00
- cmd: if not exist %ANT_HOME% pushd . && cd \ && appveyor DownloadFile http://apache.spinellicreations.com/ant/binaries/apache-ant-1.10.1-bin.zip && 7z x apache-ant-1.10.1-bin.zip && popd
2017-12-24 06:06:09 +01:00
cache:
- C:\apache-ant-1.10.1
- apache-ant-1.10.1-bin.zip
build: off
2018-01-04 20:38:34 +01:00
2018-01-27 18:48:43 +01:00
# scripts to run before test
before_test:
2018-01-04 20:50:57 +01:00
- cmd: echo Running scripts before build...
2018-01-27 18:48:43 +01:00
- cmd: |-
"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" -u root --password=Password12! -e "create database test_db;"
"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" -u root test_db --password=Password12! < extensions\database\test\conf\travis-mysql.sql
copy extensions\database\test\conf\appveyor_int_tests.xml extensions\database\test\conf\int_tests.xml
2018-01-27 18:03:53 +01:00
2018-01-04 20:38:34 +01:00
2018-01-27 18:48:43 +01:00
# build_script:
# - cmd: >-
# echo Running refine build...
#
# cd OpenRefine
#
# refine build
2018-01-04 21:44:40 +01:00
2017-12-24 06:06:09 +01:00
test_script:
2018-01-04 20:50:57 +01:00
- cmd: echo Running test_script...
2017-12-24 06:06:09 +01:00
- cmd: >-
echo PATH is:
path
refine server_test
2018-01-27 18:48:43 +01:00
git log --oneline
2018-01-04 21:45:11 +01:00
2018-01-27 18:48:43 +01:00
2018-01-03 19:32:22 +01:00
refine extensions_test