Skip to content

Commit bf57a84

Browse files
author
symfony-flex-server[bot]
authored
Merge pull request #318
2 parents c369e4e + 33dfa07 commit bf57a84

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.travis.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
language: php
2+
sudo: false
3+
4+
cache:
5+
directories:
6+
- $HOME/.composer/cache/files
7+
8+
matrix:
9+
fast_finish: true
10+
include:
11+
- php: 7.1
12+
env: SKELETON_VERSION="^3.4"
13+
- php: 7.1
14+
env: SKELETON_VERSION="^4.0"
15+
16+
before_install:
17+
- phpenv config-rm xdebug.ini || true
18+
- export SYMFONY_ENDPOINT=https://symfony.sh/r/github.com/symfony/recipes/${TRAVIS_PULL_REQUEST}
19+
- export PACKAGES=$(curl -s $SYMFONY_ENDPOINT | sed -En 's/.*composer req "([^"]+)".*/\1/p')
20+
21+
install:
22+
- composer create-project "symfony/skeleton:${SKELETON_VERSION}" flex
23+
- cd flex
24+
25+
script:
26+
- composer req "${PACKAGES}"

0 commit comments

Comments
 (0)