Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate Travis to container-based infrastructure. #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 5 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ cache:
- vendor/bundle
addons:
postgresql: "9.3"
apt:
packages:
- sphinxsearch
rvm:
- 2.1
- 2.0
- 1.9
sudo: false
env:
- REDMINE_VERSION=2.4.7 VERBOSE=no DB=mysql
- REDMINE_VERSION=2.5.3 VERBOSE=no DB=mysql
Expand All @@ -24,21 +28,7 @@ env:
- REDMINE_VERSION=2.6.0 VERBOSE=no DB=sqlite
- REDMINE_VERSION=master VERBOSE=no DB=sqlite
script:
- export PLUGIN=redmine_didyoumean
- export WORKSPACE=$(pwd)/workspace
- export PATH_TO_PLUGIN=$(pwd)
- export PATH_TO_REDMINE=$WORKSPACE/redmine
- export BUNDLE_PATH=$(pwd)/vendor/bundle
- mkdir $WORKSPACE
- bash -x ./.travis-init.sh -r || exit 1
- bash -x ./.travis-init.sh -i || exit 1
- bash -x ./.travis-init.sh -t || exit 1
- bash -x ./.travis-init.sh -u || exit 1
- bash ./.travis-redmine-helper.sh
before_script:
- sudo apt-get update -qq
- sudo apt-get install -qq sphinxsearch
- sudo service sphinxsearch stop
- mysql -e 'create database didyoumean_test;'
- psql -c 'create database didyoumean_test;' -U postgres
after_script:
- sudo service sphinxsearch stop