Fix Appveyor script
This commit is contained in:
parent
6fdaab7724
commit
09c53ff718
31
appveyor.yml
31
appveyor.yml
@ -1,10 +1,14 @@
|
|||||||
version: 1.0.{build}
|
version: 1.0.{build}
|
||||||
|
|
||||||
|
services:
|
||||||
|
- mysql
|
||||||
|
|
||||||
init:
|
init:
|
||||||
- cmd: java -version 2>&1 | find "version"
|
- cmd: java -version 2>&1 | find "version"
|
||||||
|
|
||||||
clone_script:
|
clone_depth: 5
|
||||||
- cmd: git clone --recursive https://github.com/OpenRefine/OpenRefine
|
skip_branch_with_pr: true
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
ANT_HOME: C:\apache-ant-1.10.1
|
ANT_HOME: C:\apache-ant-1.10.1
|
||||||
JAVA_HOME: C:\Program Files (x86)\Java\jdk1.8.0
|
JAVA_HOME: C:\Program Files (x86)\Java\jdk1.8.0
|
||||||
@ -20,19 +24,17 @@ cache:
|
|||||||
- apache-ant-1.10.1-bin.zip
|
- apache-ant-1.10.1-bin.zip
|
||||||
build: off
|
build: off
|
||||||
|
|
||||||
# scripts to run before build
|
# scripts to run before test
|
||||||
before_build:
|
before_test:
|
||||||
- cmd: echo Running scripts before build...
|
- cmd: echo Running scripts before build...
|
||||||
- cmd: cp extensions\database\test\conf\appveyor_int_tests.xml extensions\database\test\conf\int_tests.xml
|
- cmd: |-
|
||||||
- cmd: >-
|
"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" -u root --password=Password12! -e "create database test_db;"
|
||||||
$env:MYSQL_PWD="password"
|
"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" -u root test_db --password=Password12! < extensions\database\test\conf\travis-mysql.sql
|
||||||
$cmd = '"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql" -e "create database test_db;" --user=root'
|
dir
|
||||||
iex "& $cmd"
|
copy extensions\database\test\conf\appveyor_int_tests.xml extensions\database\test\conf\int_tests.xml
|
||||||
$cmd = '"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql" -u root test_db < extensions/database/test/conf/travis-mysql.sql'
|
|
||||||
iex "& $cmd"
|
|
||||||
|
|
||||||
|
|
||||||
build_script:
|
# build_script:
|
||||||
# - cmd: >-
|
# - cmd: >-
|
||||||
# echo Running refine build...
|
# echo Running refine build...
|
||||||
#
|
#
|
||||||
@ -47,8 +49,9 @@ test_script:
|
|||||||
|
|
||||||
path
|
path
|
||||||
|
|
||||||
cd OpenRefine
|
|
||||||
|
|
||||||
refine server_test
|
refine server_test
|
||||||
|
|
||||||
|
git log --oneline
|
||||||
|
|
||||||
|
|
||||||
refine extensions_test
|
refine extensions_test
|
||||||
|
Loading…
Reference in New Issue
Block a user