https://github.com/sfu-cl-lab/FactorBase
Tip revision: 169b61e728577c0aa2bed340a094a06a502e3603 authored by runnanc on 27 September 2018, 07:57:50 UTC
Merge remote-tracking branch 'origin/schemaEdges' into schemaEdges
Merge remote-tracking branch 'origin/schemaEdges' into schemaEdges
Tip revision: 169b61e
.travis.yml
language: java
addons:
mariadb: '10.0'
jdk:
- oraclejdk8
before_script:
- mysql -e "use mysql; update user set password=PASSWORD('123456') where User='root'; flush privileges;" -uroot
- mysql -uroot -p123456 < travis-resources/unielwin_course.sql
- mysql -uroot -p123456 < travis-resources/unielwin_prof.sql
- mysql -uroot -p123456 < travis-resources/unielwin_RA.sql
- mysql -uroot -p123456 < travis-resources/unielwin_registration.sql
- mysql -uroot -p123456 < travis-resources/unielwin_student.sql
- mysql -uroot -p123456 < travis-resources/tests-database.sql
script:
- cd code
- mvn install -DtestDBUserName=root -DtestDBPassword=123456
- java -Dconfig=../travis-resources/config.cfg -jar factorbase/target/factorbase*SNAPSHOT.jar
- ls -lh
- tail dag_.txt
- diff Bif_unielwin.xml ../travis-resources/expected-output/Bif_unielwin.xml
- bash ../travis-resources/dbdump.sh -n unielwin -p 123456
- diff mysql-extraction.txt ../travis-resources/expected-output/mysql-extraction.txt
- java -Dconfig=../travis-resources/config.cfg -jar mlnexporter/target/mlnexporter*SNAPSHOT.jar > mln_jar.txt
- tail mln_jar.txt
after_script:
- mysql -e "show databases;" -uroot -p123456
- mysql -e "use unielwin_BN; show tables;" -uroot -p123456
- mysql -e "use unielwin_CT; show tables;" -uroot -p123456