Skip to content

Commit 961fc05

Browse files
committed
Travis and AMQP first send to queue fix
1 parent 358659d commit 961fc05

File tree

7 files changed

+1792
-4
lines changed

7 files changed

+1792
-4
lines changed

.gitignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,4 @@
22
*.iml
33

44
composer.phar
5-
vendor/
6-
7-
composer.lock
8-
tests/_output/*
5+
vendor/

.travis.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
language: php
2+
3+
php:
4+
- 5.4
5+
- 5.5
6+
- 5.6
7+
- 7.0
8+
- hhvm
9+
- hhvm-nightly
10+
11+
# run build against hhvm but allow them to fail
12+
# http://docs.travis-ci.com/user/build-configuration/#Rows-That-are-Allowed-To-Fail
13+
matrix:
14+
fast_finish: true
15+
allow_failures:
16+
- php: hhvm
17+
- php: hhvm-nightly
18+
- php: 7.0
19+
20+
services:
21+
- redis-server
22+
- rabbitmq
23+
24+
# faster builds on new travis setup not using sudo
25+
sudo: false
26+
27+
# cache vendor dirs
28+
cache:
29+
directories:
30+
- vendor
31+
- $HOME/.composer/cache
32+
33+
install:
34+
- travis_retry composer self-update && composer --version
35+
- export PATH="$HOME/.composer/vendor/bin:$PATH"
36+
- echo "extension = amqp.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
37+
# core framework:
38+
- travis_retry composer install --prefer-dist --no-interaction
39+
40+
before_script:
41+
42+
script:
43+
- vendor/bin/codecept run

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
yii2-async
22
=========
3+
[![Build Status](https://travis-ci.org/bazilio91/yii2-async.svg?branch=master)](https://travis-ci.org/bazilio91/yii2-async)
34

45
Provides translucent api for moving large tasks out of request response
56

0 commit comments

Comments
 (0)