forked from kuria/composer-pkg-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (36 loc) · 1.04 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
language: php
env:
global:
- COMPOSER_ROOT_VERSION=1.99.99
matrix:
include:
- name: 7.1 (tests)
php: '7.1'
env:
- INSTALL_COMMAND="composer install"
- MAIN_COMMAND="composer tests"
- name: 7.2 (tests)
php: '7.2'
env:
- INSTALL_COMMAND="composer install"
- MAIN_COMMAND="composer tests"
- name: 7.3 (all)
php: '7.3'
env:
- INSTALL_COMMAND="composer install"
- MAIN_COMMAND="composer all"
- name: 7.3 (tests, lowest deps)
php: '7.3'
env:
- INSTALL_COMMAND="composer update --prefer-lowest --prefer-stable"
- MAIN_COMMAND="composer tests"
- name: nightly (tests)
php: nightly
env:
- INSTALL_COMMAND="composer install"
- MAIN_COMMAND="composer tests"
allow_failures:
- php: nightly
fast_finish: true
install: ${INSTALL_COMMAND}
script: ${MAIN_COMMAND}