-
Notifications
You must be signed in to change notification settings - Fork 140
/
.travis.yml
47 lines (40 loc) · 1.17 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
dist: trusty
language: generic
php:
- '5.6'
- '7.1'
node_js:
- node
jobs:
include:
- name: PHPunit tests (single, 7.1)
php: '7.1'
env: WP_VERSION=latest WP_MULTISITE=0
before_install:
- phpenv global 7.1
- bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
script:
- phpunit
- name: PHPunit tests (multi, 7.1)
php: '7.1'
env: WP_VERSION=latest WP_MULTISITE=1
before_install:
- phpenv global 7.1
- bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
script:
- phpunit
- name: PHPunit tests (single, 5.6)
php: '5.6'
env: WP_VERSION=latest WP_MULTISITE=0
before_install:
- phpenv global 5.6
- bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
script:
- phpunit
- name: Jest tests
before_install:
- nvm install 12.14.0
- nvm use 12.14.0
- yarn install --ignore-engines
script:
- yarn test