-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.travis.yml
50 lines (44 loc) · 1.32 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
language: php
dist: trusty
sudo: false
php:
- 7.0
- 7.1
- 7.2
- 7.3
env:
global:
- COMPOSER_MEMORY_LIMIT=-1
matrix:
- RELEASE=^8 COMPOSER_CHANNEL=stable
- RELEASE=^9 COMPOSER_CHANNEL=stable
- RELEASE=^8 COMPOSER_CHANNEL=snapshot
- RELEASE=^9 COMPOSER_CHANNEL=snapshot
matrix:
exclude:
- php: 7.0
env: RELEASE=^9 COMPOSER_CHANNEL=stable
- php: 7.1
env: RELEASE=^9 COMPOSER_CHANNEL=stable
- php: 7.2
env: RELEASE=^9 COMPOSER_CHANNEL=stable
- php: 7.0
env: RELEASE=^9 COMPOSER_CHANNEL=snapshot
- php: 7.1
env: RELEASE=^9 COMPOSER_CHANNEL=snapshot
- php: 7.2
env: RELEASE=^9 COMPOSER_CHANNEL=snapshot
before_install:
- composer --verbose self-update --$COMPOSER_CHANNEL
- composer --version
install:
- composer --verbose validate
script:
# Run automated tests.
- if [[ ${TRAVIS_PHP_VERSION:0:3} != "5.6" ]]; then composer install && ./vendor/bin/phpunit; fi
- cd .. && composer create-project drupal/recommended-project:$RELEASE drupal-project --no-interaction
- ls -lah . && cd drupal-project
# Check the performance.
- composer update nothing --profile
- composer config repositories.local path "../composer-drupal-optimizations" && composer require zaporylie/composer-drupal-optimizations:@dev
- composer update nothing --profile