-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
59 lines (37 loc) · 2.02 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
# ----------------------------------------------------------------------------------------------------------------------
# Container.
dist: trusty
sudo: required
language: generic
script: ./.travis.bash
# ----------------------------------------------------------------------------------------------------------------------
# Notifications.
notifications:
email: false # Disable.
slack: websharks:EpVKoMF6MQKjLKVw0CAX33Og
# ----------------------------------------------------------------------------------------------------------------------
# Example build matrix (do NOT use, this is only an example).
# matrix: # This matrix tests an example WordPress plugin.
# include: # Cover both ends of our PHP spectrum.
# - env: CI_RUN=PHP_VERSION=7.0,WP=standard,WP_VERSION=latest
# - env: CI_RUN=PHP_VERSION=7.0,WP=multisite,WP_VERSION=latest
# - env: CI_RUN=PHP_VERSION=7.0,WP=standard,WP_VERSION=nightly
# - env: CI_RUN=PHP_VERSION=7.0,WP=multisite,WP_VERSION=nightly
# - env: CI_RUN=PHP_VERSION=5.5,WP=standard,WP_VERSION=latest
# - env: CI_RUN=PHP_VERSION=5.5,WP=multisite,WP_VERSION=latest
# - env: CI_RUN=PHP_VERSION=5.5,WP=standard,WP_VERSION=nightly
# - env: CI_RUN=PHP_VERSION=5.5,WP=multisite,WP_VERSION=nightly
# allow_failures: # Allow nightly failures.
# - env: CI_RUN=PHP_VERSION=7.0,WP=standard,WP_VERSION=nightly
# - env: CI_RUN=PHP_VERSION=7.0,WP=multisite,WP_VERSION=nightly
# - env: CI_RUN=PHP_VERSION=5.5,WP=standard,WP_VERSION=nightly
# - env: CI_RUN=PHP_VERSION=5.5,WP=multisite,WP_VERSION=nightly
# fast_finish: true # Before allowed failures.
# ----------------------------------------------------------------------------------------------------------------------
# <custom> build matrix.
matrix: # Tests for WP Sharks Core plugin.
include: # The WP Sharks Core requires PHP v7+.
- env: CI_RUN=PHP_VERSION=7.0,WP=standard,WP_VERSION=latest
- env: CI_RUN=PHP_VERSION=7.0,WP=multisite,WP_VERSION=latest
fast_finish: true # Before allowed failures.
# </custom>