forked from 10up/distributor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (35 loc) · 1.3 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
language: php
global:
- WP_VERSION=latest
before_script:
- composer install
- npm install
- if [ -n "$AWS_ACCESS_KEY" ]; then ./vendor/bin/wpsnapshots configure 10up --aws_key=$AWS_ACCESS_KEY --aws_secret=$SECRET_ACCESS_KEY --user_name=Travis [email protected]; fi
cache:
directories:
- $HOME/.composer/cache/files
- $HOME/.npm
- node_modules
- $HOME/vendor
jobs:
fast_finish: true
include:
- stage: "Distributor Tests"
name: "Unit Tests and Liniting"
script:
- ./vendor/bin/phpunit
- composer run-script lint
- script: travis_retry bash run-wpacceptance.sh 3593222a181f0f91824947dbd06985d5
name: "wp-acceptance: WordPress 4.9"
- script: travis_retry bash run-wpacceptance.sh 9ea863cebfcbb416c6334a6bef6552f0
name: "wp-acceptance: WordPress 4.9 plus Gutenberg 4.9"
- script: travis_retry bash run-wpacceptance.sh 01ccbe4d2c4dbcd00b226885b759114e
name: "wp-acceptance: WordPress 5.1"
- script: travis_retry bash run-wpacceptance.sh fec81ac24227af6554c93d28d9af2bdf
name: "wp-acceptance: WordPress 5.1 plus Gutenberg 5.3"
- script: travis_retry bash run-wpacceptance.sh 803989004f4b101a644ebfe9bb67e712
name: "wp-acceptance: WordPress 5.4.2"
notifications:
email: false
sudo: required
services: docker