Skip to content

Commit 06a20a6

Browse files
authored
Merge pull request #9 from agallou/test_stable_lowest
update travis configuration
2 parents 2fc19ec + b80de2f commit 06a20a6

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.travis.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ php:
55
- 5.4
66
- 5.5
77
- 5.6
8+
- 7.0
89
- hhvm
910
- hhvm-nightly
1011

@@ -13,9 +14,13 @@ matrix:
1314
- php: hhvm
1415
- php: hhvm-nightly
1516

16-
before_script:
17-
- wget https://getcomposer.org/composer.phar
18-
- php composer.phar install --prefer-source
17+
env:
18+
matrix:
19+
- COMPOSER_PREFER="--prefer-stable"
20+
- COMPOSER_PREFER="--prefer-lowest"
21+
22+
sudo: false
1923

2024
script:
21-
- vendor/bin/atoum --test-ext
25+
- composer update $COMPOSER_PREFER
26+
- ./vendor/bin/atoum

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"atoum/atoum": "<3.0",
15+
"atoum/atoum": ">=1.0.0 <7.0",
1616
"symfony/yaml": "~2.6",
1717
"symfony/config": "~2.6",
1818
"symfony/dependency-injection": "~2.6"

0 commit comments

Comments
 (0)