Skip to content

Commit 4ff7e1a

Browse files
Test with multiple puli versions (#78)
* Test with multiple puli versions * Reduce the number of builds
1 parent 523032d commit 4ff7e1a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ php:
1515
env:
1616
global:
1717
- TEST_COMMAND="composer test"
18+
- PULI_VERSION=1.0.0-beta10
1819

1920
branches:
2021
except:
@@ -26,13 +27,14 @@ matrix:
2627
fast_finish: true
2728
include:
2829
- php: 5.5
29-
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"
30+
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci" PULI_VERSION=1.0.0-beta9
3031

3132
before_install:
3233
- if [[ $COVERAGE != true && $TRAVIS_PHP_VERSION != hhvm ]]; then phpenv config-rm xdebug.ini; fi
3334

3435
install:
3536
- wget https://github.com/puli/cli/releases/download/1.0.0-beta10/puli.phar && chmod +x puli.phar
37+
- composer require puli/composer-plugin:${PULI_VERSION} --no-update
3638
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction
3739

3840
script:

0 commit comments

Comments
 (0)