forked from huginn/huginn
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
65 lines (65 loc) · 3.18 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
dist: trusty
sudo: required
language: ruby
services:
- docker
- mysql
- postgresql
env:
global:
- APP_SECRET_TOKEN=b2724973fd81c2f4ac0f92ac48eb3f0152c4a11824c122bcf783419a4c51d8b9bba81c8ba6a66c7de599677c7f486242cf819775c433908e77c739c5c8ae118d
- RSPEC_TASK=spec:nofeatures
- COVERALLS_PARALLEL=true
- secure: fzmSI7PQz6CJiIJNAtLAuy3TMmYCrK4bUil3uufh8JkHfpSGWOZt2i6fZ8yZ7pzwG5Aw7eZDgdFsNcEPJlgUDJhlwjg+QxCJslhotTQ9qI3Ieo85peWlU9dZFTOZcrCu0net/hY2FE4ZpTRb5r8A/DRv9ukA8P8tShhePCjckgg=
- secure: YjW07LpRSiC9xB6PhLQ4LVv2VphvF3IacV43PLfvzdagjy14yAwKXTUlSadgRaMbndB2dlCTe3YcY11a/xtX/2HDrF14NHPXQdL7e2dJUS3CDLSKZK26x1SOiaaDIrl1jO1xr5kOUd+564MAcNUzDTJQR4CrWl/5t6EwW4iYQVc=
- secure: RJiSTB9Anax6uL6mgYY1m42w71ohlsfIlVCk7ho6W19ZfSzQOfom0mBdeNwfgmXsMMnvnqatfxSg8k3C//pRtI/tjzAovHd7t1YIN1IkDNf9uSpzrIeXXc4fSHaVxnl512oI/eBQy9MSBjVZjrg5XEzLKKEGsZCai+ZKB4PS+nM=
matrix:
- DATABASE_ADAPTER=mysql2
- DATABASE_ADAPTER=postgresql DATABASE_USERNAME=postgres
- 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
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
include:
- rvm: 2.4.1
env: DATABASE_ADAPTER=mysql2 DOCKER_IMAGE=cantino/huginn-single-process DOCKERFILE=docker/single-process/Dockerfile
- rvm: 2.4.1
env: DATABASE_ADAPTER=mysql2 DOCKER_IMAGE=cantino/huginn DOCKERFILE=docker/multi-process/Dockerfile
- rvm: 2.4.1
env: DATABASE_ADAPTER=mysql2 DOCKER_IMAGE=huginn/huginn-single-process DOCKERFILE=docker/single-process/Dockerfile
- rvm: 2.4.1
env: DATABASE_ADAPTER=mysql2 DOCKER_IMAGE=huginn/huginn DOCKERFILE=docker/multi-process/Dockerfile
- rvm: 2.4.1
env: RSPEC_TASK=spec:features DATABASE_ADAPTER=mysql2
- rvm: 2.4.1
env: RSPEC_TASK=spec:features DATABASE_ADAPTER=postgresql DATABASE_USERNAME=postgres
- rvm: 2.3.4
env: RSPEC_TASK=spec:features DATABASE_ADAPTER=mysql2
- rvm: 2.3.4
env: RSPEC_TASK=spec:features DATABASE_ADAPTER=postgresql DATABASE_USERNAME=postgres
rvm:
- 2.2
- 2.3.4
- 2.4.1
cache: bundler
bundler_args: --without development production
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
notifications:
irc:
channels:
- chat.freenode.net#huginn
template:
- "<%{author}> %{branch} - %{commit} (%{commit_message}): %{message}"
- 'Change view : %{compare_url}'
- 'Build details : %{build_url}'
webhooks: https://coveralls.io/webhook?repo_token=COVERALLS_REPO_TOKEN