mirror of
https://github.com/rickbarrette/stopwatch.git
synced 2026-04-02 09:51:57 -04:00
38 lines
616 B
YAML
38 lines
616 B
YAML
sudo: false
|
|
language: ruby
|
|
rvm:
|
|
- 2.6.8
|
|
- 2.7.4
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
addons:
|
|
postgresql: "9.6"
|
|
|
|
env:
|
|
- REDMINE_VER=4.1-stable
|
|
- REDMINE_VER=4.2-stable
|
|
- REDMINE_VER=master
|
|
|
|
jobs:
|
|
exclude:
|
|
- rvm: 2.7.4
|
|
env: REDMINE_VER=4.1-stable
|
|
|
|
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
|
|
|