remove travis.yml

This commit is contained in:
Kathrin Huber 2021-05-18 19:54:49 +02:00
parent 2ea91dcdcb
commit 927f05f97b
4 changed files with 2 additions and 43 deletions

View File

@ -29,8 +29,8 @@ jobs:
- name: copy files
run: |
cp $GITHUB_WORKSPACE/config/database.yml.travis $GITHUB_WORKSPACE/config/database.yml
cp $GITHUB_WORKSPACE/Kitodo-DataManagement/src/main/resources/db/config/flyway.properties.travis $GITHUB_WORKSPACE/Kitodo-DataManagement/src/main/resources/db/config/flyway.properties
cp $GITHUB_WORKSPACE/config/database.yml.actions $GITHUB_WORKSPACE/config/database.yml
cp $GITHUB_WORKSPACE/Kitodo-DataManagement/src/main/resources/db/config/flyway.properties.actions $GITHUB_WORKSPACE/Kitodo-DataManagement/src/main/resources/db/config/flyway.properties
# Runs a set of commands using the runners shell

View File

@ -1,41 +0,0 @@
# Travis continuous integration for kitodo-production
language: java
cache:
directories:
- $HOME/.m2
timeout: 1000
dist: xenial
jdk:
- openjdk8
addons:
chrome: stable
env: DB=mysql
services:
- mysql
script:
- mvn clean install -B '-Pall-tests,flyway,checkstyle,spotbugs,!development' && xvfb-run --server-args="-screen 0 1600x1280x24" mvn clean install -B '-Pselenium,!development'
# install: true is deactivating the separate install-step, which runs before the script
install: true
before_install:
before_script:
- cp config/database.yml.travis config/database.yml
- cp Kitodo-DataManagement/src/main/resources/db/config/flyway.properties.travis Kitodo-DataManagement/src/main/resources/db/config/flyway.properties
- sudo mysql_upgrade -u root
- sudo service mysql restart
- mysql -u root -e 'CREATE DATABASE kitodo;'
- mysql -u root -e "CREATE USER 'kitodo'@'localhost' IDENTIFIED BY 'kitodo';"
- mysql -u root -e "GRANT ALL ON kitodo.* TO 'kitodo'@'localhost';"
- mysql -u root kitodo < Kitodo/setup/schema.sql
- mysql -u root kitodo < Kitodo/setup/default.sql
- export MAVEN_OPTS=-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn