Skip to content

Commit 2f90c02

Browse files
author
Jefersson Nathan
committed
clean up travis script
1 parent f1ee208 commit 2f90c02

File tree

1 file changed

+3
-26
lines changed

1 file changed

+3
-26
lines changed

.travis.yml

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,39 +6,16 @@ env:
66
- BASE_URL=127.0.0.1:8080
77

88
php:
9-
- 5.6
10-
- 7
9+
- 7.1
1110

1211
matrix:
1312
allow_failures:
14-
- php: 7
15-
16-
services: mongodb
17-
18-
before_script:
19-
- echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
20-
21-
- composer selfupdate
22-
- composer install --no-interaction --prefer-dist --no-scripts
23-
24-
- chmod -R 777 app/cache app/logs
25-
- app/console --env=test cache:warmup
26-
- chmod -R 777 app/cache app/logs
27-
28-
- app/console doctrine:mongodb:schema:create
29-
- app/console doctrine:mongodb:fixtures:load
30-
31-
- app/console server:run 127.0.0.1:8080 --no-debug > webserver.log 2>&1 &
32-
33-
- sh -e /etc/init.d/xvfb start
34-
- export DISPLAY=:99.0
35-
- wget http://selenium.googlecode.com/files/selenium-server-standalone-2.31.0.jar
36-
- java -jar selenium-server-standalone-2.31.0.jar > /dev/null &
37-
- sleep 5
13+
- php: 7.1
3814

3915
notifications:
4016
email: false
4117

4218
script:
4319
- ./bin/phpunit -c app
20+
- ./bin/docheader check src/
4421
- ./bin/behat

0 commit comments

Comments
 (0)