Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

Commit 3ec3e28

Browse files
Merge branch 'master' into develop-v2
2 parents 36c7525 + a81fdb0 commit 3ec3e28

3 files changed

Lines changed: 74 additions & 5 deletions

File tree

.travis.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
language: php
2+
3+
sudo: false
4+
5+
cache:
6+
directories:
7+
- $HOME/.composer/cache
8+
9+
matrix:
10+
include:
11+
- php: 7.0
12+
env: SYMFONY_VERSION=2.7.*
13+
- php: 7.0
14+
env: SYMFONY_VERSION=3.3.*
15+
- php: 7.0
16+
env: DEPENDENCIES=beta
17+
- php: 7.1
18+
env: SYMFONY_VERSION=2.7.*
19+
- php: 7.1
20+
env: SYMFONY_VERSION=3.3.*
21+
- php: 7.1
22+
env: SYMFONY_VERSION=3.4.*
23+
- php: 7.1
24+
env: SYMFONY_VERSION=4.0.*
25+
- php: 7.1
26+
env: DEPENDENCIES=beta
27+
- php: 7.2
28+
env: SYMFONY_VERSION=2.7.*
29+
- php: 7.2
30+
env: SYMFONY_VERSION=3.3.*
31+
- php: 7.2
32+
env: SYMFONY_VERSION=3.4.*
33+
- php: 7.2
34+
env: SYMFONY_VERSION=4.0.*
35+
- php: 7.2
36+
env: DEPENDENCIES=beta
37+
- php: nightly
38+
env: SYMFONY_VERSION=2.7.*
39+
- php: nightly
40+
env: SYMFONY_VERSION=3.3.*
41+
- php: nightly
42+
env: SYMFONY_VERSION=3.4.*
43+
- php: nightly
44+
env: SYMFONY_VERSION=4.0.*
45+
- php: nightly
46+
env: DEPENDENCIES=beta
47+
allow_failures:
48+
- php: nightly
49+
- env: DEPENDENCIES=beta
50+
51+
env:
52+
global:
53+
- deps=no
54+
55+
before_install:
56+
- composer self-update
57+
# Set composer minimum-stability configuration filter to beta versions
58+
- if [ "$DEPENDENCIES" = "beta" ]; then perl -pi -e 's/^}$/,"minimum-stability":"beta"}/' composer.json; fi;
59+
60+
install:
61+
- if [ "$deps" = "no" ]; then composer update; fi;
62+
- if [ "$deps" = "low" ]; then composer --prefer-lowest --prefer-stable update; fi;
63+
64+
script:
65+
- vendor/jakub-onderka/php-parallel-lint/parallel-lint --exclude vendor .

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1+
[![Build Status](https://api.travis-ci.org/Lendable/VisitorTrackingBundle.svg)](https://travis-ci.org/Lendable/VisitorTrackingBundle)
2+
13
Visitor Tracking Bundle
24
=======================
35

4-
A Symfony2 bundle to track requests.
6+
A Symfony bundle to track requests.
57

68
## Upgrading from 0.x to 1.x
79

810
The main difference is the move to multiple A/B testing seeds connected to a lifetime.
911
You will probably want to run some kind of migration like:
1012

11-
INSERT INTO seed SELECT NULL, id, 'default', seed FROM lifetime
13+
`INSERT INTO seed SELECT NULL, id, 'default', seed FROM lifetime`
1214

13-
ALTER TABLE lifetime DROP seed
15+
`ALTER TABLE lifetime DROP seed`
1416

15-
You can then get the old seed by doing $lifetime->getSeed('default')
17+
You can then get the old seed by doing `$lifetime->getSeed('default')`

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
"symfony/security-bundle": "^3.3"
2424
},
2525
"require-dev": {
26-
"phpunit/phpunit": "^5.6"
26+
"phpunit/phpunit": "^5.6",
27+
"roave/security-advisories": "dev-master",
28+
"jakub-onderka/php-parallel-lint": "^0.9.2"
2729
},
2830
"autoload": {
2931
"psr-4": {

0 commit comments

Comments
 (0)