Skip to content

Commit 8093c17

Browse files
committed
Update Travis configuration
- Add PHP 7.4 in matrix. - Limit matrix to lowest and highiest PHP supported version. - Run CS checks in strict mode. - Remove dead config lines.
1 parent a3d2449 commit 8093c17

1 file changed

Lines changed: 3 additions & 34 deletions

File tree

.travis.yml

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,20 @@
11
language: php
22
php:
33
- 5.6
4-
- 7.0
5-
- 7.1
6-
- 7.2
4+
- 7.4
75
- nightly
86

9-
#env:
10-
# global:
11-
# - DB=mysql
12-
# matrix:
13-
# - GLPIVER=9.1/bugfixes
14-
# - GLPIVER=master
15-
167
before_script:
178
- composer self-update
18-
# - git clone --depth=1 https://github.com/glpi-project/glpi -b $GLPIVER ../glpi && cd ../glpi
19-
# - composer install --no-dev
20-
# - mysql -u root -e 'create database glpitest;'
21-
# - php tools/cliinstall.php --db=glpi-test --user=travis --tests
22-
# - mv ../treeview plugins/{LNAME}
23-
# - cd plugins/treeview
24-
- composer install -o
25-
9+
- composer install --optimize-autoloader --prefer-dist --no-interaction --no-progress --no-suggest
2610

2711
script:
28-
- vendor/bin/robo --no-interaction code:cs
29-
# - mysql -u root -e 'select version();'
30-
# - ./vendor/bin/atoum -bf tests/bootstrap.php -d tests/units/
31-
12+
- vendor/bin/robo --no-interaction code:cs --strict
3213

3314
matrix:
34-
# exclude:
35-
# - php: 5.4
36-
# env: GLPIVER=master
3715
allow_failures:
3816
- php: nightly
3917

4018
cache:
4119
directories:
4220
- $HOME/.composer/cache
43-
44-
#notifications:
45-
# irc:
46-
# channels:
47-
# - "irc.freenode.org#channel"
48-
# on_success: change
49-
# on_failure: always
50-
# use_notice: true
51-
# skip_join: true

0 commit comments

Comments
 (0)