Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d33b780

Browse files
committed
Merge pull request lunetics-org#185 from WouterJ/patch-2
Speed up Travis jobs
2 parents 6aae6e7 + bbe24bb commit d33b780

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

.travis.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,28 @@ matrix:
1010
allow_failures:
1111
- php: hhvm
1212

13+
sudo: false
14+
15+
cache:
16+
directories:
17+
- $HOME/.composer/cache/files
18+
1319
env:
1420
- SYMFONY_VERSION='2.8.*'
1521
- SYMFONY_VERSION='3.0.*'
1622
- SYMFONY_VERSION='3.1.*'
1723

18-
before_script:
24+
before_install:
25+
- phpenv config-rm xdebug.ini || true
1926
- php -i | grep "ICU version"
2027
- composer self-update
2128
- composer require symfony/symfony:${SYMFONY_VERSION} --no-update
22-
- composer install --dev --prefer-source
2329

24-
script: phpunit --coverage-text
30+
install: composer update --prefer-dist
31+
32+
script: phpunit
2533

2634
notifications:
2735
email:
2836
2937
30-
31-
sudo: false
32-
33-
cache:
34-
directories:
35-
- $HOME/.composer/cache

0 commit comments

Comments
 (0)