huginn/.travis.yml

74 lines
3.4 KiB
YAML
Raw Permalink Normal View History

2016-04-10 12:55:39 +02:00
dist: trusty
sudo: required
2013-03-17 23:30:11 -07:00
language: ruby
2016-04-10 12:55:39 +02:00
services:
- docker
2016-12-19 14:51:32 +09:00
- mysql
2016-04-10 12:55:39 +02:00
- postgresql
before_install:
- gem update --system
- gem install bundler
env:
2014-12-27 14:48:33 +01:00
global:
- APP_SECRET_TOKEN=b2724973fd81c2f4ac0f92ac48eb3f0152c4a11824c122bcf783419a4c51d8b9bba81c8ba6a66c7de599677c7f486242cf819775c433908e77c739c5c8ae118d
- RSPEC_TASK=spec:nofeatures
- COVERALLS_PARALLEL=true
2016-04-10 12:55:39 +02:00
- secure: fzmSI7PQz6CJiIJNAtLAuy3TMmYCrK4bUil3uufh8JkHfpSGWOZt2i6fZ8yZ7pzwG5Aw7eZDgdFsNcEPJlgUDJhlwjg+QxCJslhotTQ9qI3Ieo85peWlU9dZFTOZcrCu0net/hY2FE4ZpTRb5r8A/DRv9ukA8P8tShhePCjckgg=
- secure: YjW07LpRSiC9xB6PhLQ4LVv2VphvF3IacV43PLfvzdagjy14yAwKXTUlSadgRaMbndB2dlCTe3YcY11a/xtX/2HDrF14NHPXQdL7e2dJUS3CDLSKZK26x1SOiaaDIrl1jO1xr5kOUd+564MAcNUzDTJQR4CrWl/5t6EwW4iYQVc=
- secure: RJiSTB9Anax6uL6mgYY1m42w71ohlsfIlVCk7ho6W19ZfSzQOfom0mBdeNwfgmXsMMnvnqatfxSg8k3C//pRtI/tjzAovHd7t1YIN1IkDNf9uSpzrIeXXc4fSHaVxnl512oI/eBQy9MSBjVZjrg5XEzLKKEGsZCai+ZKB4PS+nM=
2014-11-06 20:01:08 +01:00
matrix:
2014-12-27 14:48:33 +01:00
- DATABASE_ADAPTER=mysql2
- DATABASE_ADAPTER=postgresql DATABASE_USERNAME=postgres
2016-04-10 12:55:39 +02:00
- DOCKER_IMAGE=cantino/huginn-single-process DOCKERFILE=docker/single-process/Dockerfile
- DOCKER_IMAGE=cantino/huginn DOCKERFILE=docker/multi-process/Dockerfile
- DOCKER_IMAGE=huginn/huginn-single-process DOCKERFILE=docker/single-process/Dockerfile
- DOCKER_IMAGE=huginn/huginn DOCKERFILE=docker/multi-process/Dockerfile
- RSPEC_TASK=spec:features
2016-04-10 12:55:39 +02:00
matrix:
exclude:
- env: DOCKER_IMAGE=cantino/huginn-single-process DOCKERFILE=docker/single-process/Dockerfile
- env: DOCKER_IMAGE=cantino/huginn DOCKERFILE=docker/multi-process/Dockerfile
- env: DOCKER_IMAGE=huginn/huginn-single-process DOCKERFILE=docker/single-process/Dockerfile
- env: DOCKER_IMAGE=huginn/huginn DOCKERFILE=docker/multi-process/Dockerfile
- env: RSPEC_TASK=spec:features
2016-04-10 12:55:39 +02:00
include:
- rvm: 2.4.4
2016-04-10 12:55:39 +02:00
env: DATABASE_ADAPTER=mysql2 DOCKER_IMAGE=cantino/huginn-single-process DOCKERFILE=docker/single-process/Dockerfile
- rvm: 2.4.4
2016-04-10 12:55:39 +02:00
env: DATABASE_ADAPTER=mysql2 DOCKER_IMAGE=cantino/huginn DOCKERFILE=docker/multi-process/Dockerfile
- rvm: 2.4.4
env: DATABASE_ADAPTER=mysql2 DOCKER_IMAGE=huginn/huginn-single-process DOCKERFILE=docker/single-process/Dockerfile
- rvm: 2.4.4
env: DATABASE_ADAPTER=mysql2 DOCKER_IMAGE=huginn/huginn DOCKERFILE=docker/multi-process/Dockerfile
- rvm: 2.5.1
2017-01-01 03:48:02 +09:00
env: RSPEC_TASK=spec:features DATABASE_ADAPTER=mysql2
- rvm: 2.5.1
2017-01-01 03:48:02 +09:00
env: RSPEC_TASK=spec:features DATABASE_ADAPTER=postgresql DATABASE_USERNAME=postgres
- rvm: 2.4.4
env: RSPEC_TASK=spec:features DATABASE_ADAPTER=mysql2
- rvm: 2.4.4
env: RSPEC_TASK=spec:features DATABASE_ADAPTER=postgresql DATABASE_USERNAME=postgres
- rvm: 2.3.7
env: RSPEC_TASK=spec:features DATABASE_ADAPTER=mysql2
- rvm: 2.3.7
env: RSPEC_TASK=spec:features DATABASE_ADAPTER=postgresql DATABASE_USERNAME=postgres
2013-03-17 23:30:11 -07:00
rvm:
- 2.2.10
- 2.3.7
- 2.4.4
- 2.5.1
cache: bundler
bundler_args: --without development production
2016-04-10 12:55:39 +02:00
script:
- if [ -z "${DOCKER_IMAGE}" ]; then bundle exec rake db:create db:migrate; else true; fi
- if [ -z "${DOCKER_IMAGE}" ]; then bundle exec rake $RSPEC_TASK; else ./build_docker_image.sh; fi
2014-01-01 17:06:22 -08:00
notifications:
irc:
channels:
2014-11-06 20:01:08 +01:00
- chat.freenode.net#huginn
2014-01-01 17:06:22 -08:00
template:
2014-11-06 20:01:08 +01:00
- "<%{author}> %{branch} - %{commit} (%{commit_message}): %{message}"
- 'Change view : %{compare_url}'
- 'Build details : %{build_url}'
webhooks: https://coveralls.io/webhook?repo_token=COVERALLS_REPO_TOKEN