RandomSec/appveyor.yml
2018-01-27 17:52:23 +00:00

57 lines
1.3 KiB
YAML

version: 1.0.{build}
services:
- mysql
init:
- cmd: java -version 2>&1 | find "version"
clone_depth: 5
skip_branch_with_pr: true
environment:
ANT_HOME: C:\apache-ant-1.10.1
JAVA_HOME: C:\Program Files (x86)\Java\jdk1.8.0
matrix:
fast_finish: true
install:
- 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
cache:
- C:\apache-ant-1.10.1
- apache-ant-1.10.1-bin.zip
build: off
# scripts to run before test
before_test:
- cmd: echo Running scripts before build...
- 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
# build_script:
# - cmd: >-
# echo Running refine build...
#
# cd OpenRefine
#
# refine build
test_script:
- cmd: echo Running test_script...
- cmd: >-
echo PATH is:
path
refine server_test
git log --oneline
refine extensions_test