Loading .gitlab-ci.yml +1 −1 Original line number Diff line number Diff line build: script: "cd TASMAN-core; mvn clean install -P Test -Dmysql_host=localhost -Dmysql_port=3306 -Dmysql_user=tasman_tester -D mysql_password=tasman_tester -Dpostgres_host=localhost -Dpostgres_port=5432 -Dpostgres_user=tasman_tester -Dpostgres_password=tasman_tester -Dpostgres_database=tasman_test" script: "cd TASMAN-bom; mvn clean install; cd ../TASMAN-core; mvn clean install -P Test -Dmysql_host=localhost -Dmysql_port=3306 -Dmysql_user=tasman_tester -D mysql_password=tasman_tester -Dpostgres_host=localhost -Dpostgres_port=5432 -Dpostgres_user=tasman_tester -Dpostgres_password=tasman_tester -Dpostgres_database=tasman_test" README.md +2 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,8 @@ See also the [CHANGELOG](CHANGELOG.md). 3. `./build.sh <command>`, commands are: * **core** build only TASMAN core * **test**: run tests; you need to create a `test.properties` file containing a configuration for connecting to a MySQL and a Postgres test database * MySQL testing database needs to have `default-storage-engine = innodb` configured into `/etc/my.cnf` * Postgres 9.3+ is required * **glassfish**: build GlassFish war package * **tomcat**: build Tomcat war package (using config.properties file) * **embedded**: build embedded package (to be run _locally!_) Loading build.sh +6 −2 Original line number Diff line number Diff line Loading @@ -24,7 +24,9 @@ function add_properties { } function build_core { cd TASMAN-core cd TASMAN-bom mvn -q clean install cd ../TASMAN-core mvn -q clean install if [ "$?" -ne 0 ]; then echo "[ERROR] Error in ${FUNCNAME[0]}" Loading @@ -35,7 +37,9 @@ function build_core { } function test_core { cd TASMAN-core cd TASMAN-bom mvn -q clean install cd ../TASMAN-core $(add_properties "mvn clean install -P test" $test_config_file) if [ "$?" -ne 0 ]; then echo "[ERROR] Error in ${FUNCNAME[0]}" Loading Loading
.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line build: script: "cd TASMAN-core; mvn clean install -P Test -Dmysql_host=localhost -Dmysql_port=3306 -Dmysql_user=tasman_tester -D mysql_password=tasman_tester -Dpostgres_host=localhost -Dpostgres_port=5432 -Dpostgres_user=tasman_tester -Dpostgres_password=tasman_tester -Dpostgres_database=tasman_test" script: "cd TASMAN-bom; mvn clean install; cd ../TASMAN-core; mvn clean install -P Test -Dmysql_host=localhost -Dmysql_port=3306 -Dmysql_user=tasman_tester -D mysql_password=tasman_tester -Dpostgres_host=localhost -Dpostgres_port=5432 -Dpostgres_user=tasman_tester -Dpostgres_password=tasman_tester -Dpostgres_database=tasman_test"
README.md +2 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,8 @@ See also the [CHANGELOG](CHANGELOG.md). 3. `./build.sh <command>`, commands are: * **core** build only TASMAN core * **test**: run tests; you need to create a `test.properties` file containing a configuration for connecting to a MySQL and a Postgres test database * MySQL testing database needs to have `default-storage-engine = innodb` configured into `/etc/my.cnf` * Postgres 9.3+ is required * **glassfish**: build GlassFish war package * **tomcat**: build Tomcat war package (using config.properties file) * **embedded**: build embedded package (to be run _locally!_) Loading
build.sh +6 −2 Original line number Diff line number Diff line Loading @@ -24,7 +24,9 @@ function add_properties { } function build_core { cd TASMAN-core cd TASMAN-bom mvn -q clean install cd ../TASMAN-core mvn -q clean install if [ "$?" -ne 0 ]; then echo "[ERROR] Error in ${FUNCNAME[0]}" Loading @@ -35,7 +37,9 @@ function build_core { } function test_core { cd TASMAN-core cd TASMAN-bom mvn -q clean install cd ../TASMAN-core $(add_properties "mvn clean install -P test" $test_config_file) if [ "$?" -ne 0 ]; then echo "[ERROR] Error in ${FUNCNAME[0]}" Loading