Skip to content

Commit 1d565b0

Browse files
authored
Merge pull request #2 from cleverage/feature/add-travis-configuration
Add Travis configuration to run tests
2 parents df65a51 + 72dfc63 commit 1d565b0

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

.travis.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
language: php
2+
dist: xenial
3+
php:
4+
- 7.4
5+
6+
before_install:
7+
- mysql -e "create database IF NOT EXISTS encryption_bundle_test;"
8+
- export INI=~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini;
9+
- echo memory_limit = -1 >> $INI
10+
11+
install:
12+
- composer install
13+
14+
script:
15+
- bin/phpunit
16+
17+
env:
18+
- SYMFONY_VERSION=4.4.*
19+
- SYMFONY_VERSION=5.1.*
20+
21+
services:
22+
- mysql

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
}
2121
],
2222
"require": {
23-
"php": ">=7.2",
23+
"php": "^7.4",
2424
"ext-mbstring": "*",
25-
"symfony/framework-bundle": ">=2.8"
25+
"symfony/framework-bundle": "^4.4|^5.1"
2626
},
2727
"suggest": {
2828
"doctrine/doctrine-bundle": "Use Doctrine to encrypt and decrypt entities automatically",

0 commit comments

Comments
 (0)