This repository has been archived by the owner on Oct 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.travis.yml.off
65 lines (53 loc) · 2.21 KB
/
.travis.yml.off
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
---
language: php
os: linux
version: ~> 1.0
php: "7.2"
node_js: "lts/*"
addons:
chrome: stable
cache:
directories:
- "$HOME/.composer/cache"
- "$HOME/.drush/cache"
- "$HOME/.rvm"
- "${TMPDIR:-/tmp}/phpstan/cache"
env:
global:
- ORCA_SUT_NAME=drupal/acquia_commercemanager
- ORCA_SUT_BRANCH=8.x-1.x
- ORCA_VERSION=dev-master
- ORCA_PACKAGES_CONFIG_ALTER=../acquia_commercemanager/tests/packages_alter.yml
- ORCA_TELEMETRY_ENABLE=TRUE
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 }
- { 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_JOB=D9_READINESS}
allow_failures:
# Dev jobs are allowed to fail due to their inherent instability.
- env: ORCA_JOB=ISOLATED_DEV
- env: ORCA_JOB=INTEGRATED_DEV
- env: ORCA_JOB=CORE_NEXT
# Temporary allowances.
- env: ORCA_JOB=STATIC_CODE_ANALYSIS
- env: ORCA_JOB=DEPRECATED_CODE_SCAN
# You may need to allow the D9 readiness job to fail in the short term.
- { php: "7.3", env: ORCA_JOB=D9_READINESS }
before_install:
- composer create-project --no-dev acquia/orca ../orca "$ORCA_VERSION"
- ../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