-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
66 lines (51 loc) · 2.11 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
language: php
os: linux
dist: bionic
version: ~> 1.0
php: "7.4"
addons:
chrome: stable
cache:
directories:
- "$HOME/.composer/cache"
- "$HOME/.drush/cache"
- "$HOME/.rvm"
- "${TMPDIR:-/tmp}/phpstan/cache"
env:
global:
- ORCA_SUT_NAME=drupal/github_cards
- ORCA_SUT_BRANCH=8.x-1.x
- ORCA_VERSION=phpunit-coverage
- ORCA_PACKAGES_CONFIG=../drupal-github_cards/.orca/packages.yml
- ORCA_PHPCS_STANDARD=AcquiaDrupalStrict
- ORCA_TELEMETRY_ENABLE=FALSE
- ORCA_COVERAGE_PATH=/tmp
jobs:
fast_finish: true
include:
- { name: "Static code analysis", env: ORCA_JOB=STATIC_CODE_ANALYSIS }
- { name: "Deprecated code scan", env: ORCA_JOB=DEPRECATED_CODE_SCAN }
- { name: "Isolated test w/ recommended package versions", env: ORCA_JOB=ISOLATED_RECOMMENDED ORCA_COVERAGE_COLLECT="TRUE" }
- { name: "Integrated test w/ recommended package versions", env: ORCA_JOB=INTEGRATED_RECOMMENDED }
- { name: "Integrated test w/ recommended package versions & previous minor release of Drupal core", env: ORCA_JOB=CORE_PREVIOUS }
- { name: "Isolated test w/ dev package versions", env: ORCA_JOB=ISOLATED_DEV }
- { name: "Integrated test w/ dev package versions", env: ORCA_JOB=INTEGRATED_DEV }
- { name: "Integrated test w/ dev package versions & next minor dev version of Drupal core", env: ORCA_JOB=CORE_NEXT }
- { name: "D9 readiness test", php: "7.3", env: ORCA_SUT_BRANCH=9.x-1.x ORCA_JOB=D9_READINESS}
allow_failures:
- env: ORCA_JOB=ISOLATED_DEV
- env: ORCA_JOB=INTEGRATED_DEV
- env: ORCA_JOB=CORE_NEXT
- env: ORCA_SUT_BRANCH=9.x-1.x ORCA_JOB=D9_READINESS
before_install:
- nvm use 12.13.1
- git clone --branch ${ORCA_VERSION} --depth 1 https://github.com/swichers/orca.git ../orca
- ../orca/bin/travis/before_install.sh
install: ../orca/bin/travis/install.sh
before_script: ../orca/bin/travis/before_script.sh
script: ../orca/bin/travis/script.sh
before_cache: ../orca/bin/travis/before_cache.sh
after_success: ../orca/bin/travis/after_success.sh
after_failure: ../orca/bin/travis/after_failure.sh
after_script: ../orca/bin/travis/after_script.sh