This commit is contained in:
Jens Kraemer
2020-07-24 07:50:52 +08:00
parent 1ed6942f0c
commit 049cbd6c8f
4 changed files with 121 additions and 0 deletions

33
.travis.yml Normal file
View File

@@ -0,0 +1,33 @@
sudo: false
language: ruby
rvm:
- 2.4.10
- 2.5.8
- 2.6.6
branches:
only:
- master
addons:
postgresql: "9.6"
env:
- REDMINE_VER=4.0-stable
- REDMINE_VER=4.1-stable
- REDMINE_VER=master
install: "echo skip bundle install"
before_script:
- psql -c 'create database travis_ci_test;' -U postgres
script:
- export TESTSPACE=`pwd`/testspace
- export NAME_OF_PLUGIN=stopwatch
- export PATH_TO_PLUGIN=`pwd`
- export PATH_TO_REDMINE=$TESTSPACE/redmine
- mkdir $TESTSPACE
- cp test/support/* $TESTSPACE/
- bash -x ./travis.sh